1. 25 Apr, 2018 40 commits
    • Jonathan Backer's avatar
      Don't force virtualized contexts for tests · f2776921
      Jonathan Backer authored
      We already look at workarounds. If tests fail without virtualized
      contexts we should get the workarounds properly populated.
      
      Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
      Change-Id: I22a8c47260c84bff4b8c8eb2ec457b704eed9e36
      Reviewed-on: https://chromium-review.googlesource.com/1028213Reviewed-by: default avatarkylechar <kylechar@chromium.org>
      Commit-Queue: Jonathan Backer <backer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553670}
      f2776921
    • Michael Lippautz's avatar
      [oilpan] Narrow lock scopes for cross-thread persistents · 41715dee
      Michael Lippautz authored
      We only need to lock those while iterating persistents and while processing
      weak persistents.
      
      Bug: chromium:836306
      Change-Id: I788d349672c9d9550e3889c13ec4b79b5e5c6ee9
      Reviewed-on: https://chromium-review.googlesource.com/1026675
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553669}
      41715dee
    • Robert Liao's avatar
      Disable DevToolsManagerDelegateTest Tests That Rely on Maximization for Mac · 28e33c40
      Robert Liao authored
      MacViews does not yet implement maximized windows and a trivial
      implementation doesn't seem to work.
      
      BUG=834754,836327
      
      Change-Id: I4fd6fbd4295134053cc58d028d0c2397088150a8
      Reviewed-on: https://chromium-review.googlesource.com/1026350Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
      Reviewed-by: default avatarDmitry Gozman <dgozman@chromium.org>
      Commit-Queue: Robert Liao <robliao@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553668}
      28e33c40
    • Rohit Rao's avatar
      [ios] Fixes UKMTestCase when UIRefresh is enabled. · dcb7c8ab
      Rohit Rao authored
      BUG=818732
      
      Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
      Change-Id: Ie1639a9112b16aeade373449e75934c8e63fedb7
      Reviewed-on: https://chromium-review.googlesource.com/1027900
      Commit-Queue: Rohit Rao <rohitrao@chromium.org>
      Reviewed-by: default avatarPeter Lee <pkl@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553667}
      dcb7c8ab
    • Nicolas Pena's avatar
      Move webtiming-resolution, webtiming-ssl to wpt · 5e2d9bc8
      Nicolas Pena authored
      This CL changes the webtiming-resolution to test that resolution is
      larger than 10 microseconds, instead of testing for a specific value.
      This allows the test to no longer be flaky and to be moved to wpt.
      
      The webtiming-ssl test is moved to WPT, using an https connection to
      ensure that secureConnectionStart is correctly defined.
      
      Bug: chromium:801341
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
      Change-Id: I4d31faa08d00251098f3dc648c794d80bbcc2f22
      Reviewed-on: https://chromium-review.googlesource.com/867310
      Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
      Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
      Reviewed-by: default avatarTimothy Dresser <tdresser@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553666}
      5e2d9bc8
    • Christian Fremerey's avatar
      [Video Capture Android] Support facing mode and list user-facing first · 62e590c5
      Christian Fremerey authored
      On Android, the facing mode of capture devices is currently reported only in
      form of a string appended to the device name. This was probably a legacy
      solution before facing mode has become an official field that can be queried.
      
      This CL fills the facing mode field so that it gets reported correctly.
      It then sorts device infos reported during device enumeration such that
      user-facing devices get listed first. This has the effect of making them
      preferred over back-facing cameras in case no facing-related constraints are
      given.
      
      Bug: 814298
      Change-Id: I366475903693401c64ed7ff3f65d39536d6c13ba
      Reviewed-on: https://chromium-review.googlesource.com/1025213Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
      Reviewed-by: default avatarWeiyong Yao <braveyao@chromium.org>
      Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
      Commit-Queue: Christian Fremerey <chfremer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553665}
      62e590c5
    • Christopher Grant's avatar
      VR: Clean up selection of hit-testable elements. · cd8d48e7
      Christopher Grant authored
      This furthers previous lifecycle framework cleanup, and fixes an
      outstanding technical-debt bug in the process.
      
      BUG=768079
      R=ymalik
      
      Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_vr
      Change-Id: I6743ed68e16f437d68ccc27849f3694af347617a
      Reviewed-on: https://chromium-review.googlesource.com/1015645
      Commit-Queue: Christopher Grant <cjgrant@chromium.org>
      Reviewed-by: default avatarYash Malik <ymalik@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553664}
      cd8d48e7
    • Luum Habtemariam's avatar
      Modifying CupsPrinters users APIs · e0c32460
      Luum Habtemariam authored
      CupsPrinters is becoming a BCKS. This change modifies services using it
      to create and store handles to it correctly.
      
      BUG=chromium:829492
      TEST=manually ensured behavior unchanged
      
      Change-Id: Ibca680fd3b29314b38a72288ed28f6b0f2dca42e
      Reviewed-on: https://chromium-review.googlesource.com/998612Reviewed-by: default avatarYusuke Sato <yusukes@chromium.org>
      Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
      Reviewed-by: default avatarSean Kau <skau@chromium.org>
      Commit-Queue: Luum Habtemariam <luum@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553663}
      e0c32460
    • Paul Jensen's avatar
      [Cronet] Add stamp to api.txt to prevent accidental bulk renames modifying API · 333a5272
      Paul Jensen authored
      Without a stamp a bulk rename could modify the Cronet API but pass through the
      API static checks.  With the stamp, edits to api.txt must be done via update_api.py
      which enforces the static checks.
      
      Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester;master.tryserver.chromium.mac:ios-simulator-cronet
      Change-Id: I01040c5e377bc6a0e8831c2bab30da5d460d6ae3
      Reviewed-on: https://chromium-review.googlesource.com/1025644Reviewed-by: default avatarAndrei Kapishnikov <kapishnikov@chromium.org>
      Commit-Queue: Paul Jensen <pauljensen@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553662}
      333a5272
    • Becky Zhou's avatar
      [EoC] Add overflow menu to the toolbar V1 · 60713be4
      Becky Zhou authored
      Add overflow menu button and options to open settings and send feedback
      on the toolbar. The button will be shown on bottom sheet opened and
      hidden on sheet closed.
      
      Bug: 831782
      Change-Id: I37f9290b914f1adec06a3617e8c0a1fb54b2ccd3
      Reviewed-on: https://chromium-review.googlesource.com/1022952
      Commit-Queue: Becky Zhou <huayinz@chromium.org>
      Reviewed-by: default avatarBernhard Bauer <bauerb@chromium.org>
      Reviewed-by: default avatarTheresa <twellington@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553661}
      60713be4
    • skia-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com's avatar
      Roll src/third_party/skia/ 77e95f706..27988f76b (3 commits) · 89ad97cc
      https://skia.googlesource.com/skia.git/+log/77e95f7067e3..27988f76b25e
      
      $ git log 77e95f706..27988f76b --date=short --no-merges --format='%ad %ae %s'
      2018-04-25 skcms-skia-autoroll Roll skia/third_party/skcms 289a2a7..86807d3 (1 commits)
      2018-04-25 robertphillips Refactor GaussianBlur
      2018-04-25 skcms-skia-autoroll Roll skia/third_party/skcms e19e9b9..289a2a7 (1 commits)
      
      Created with:
        roll-dep src/third_party/skia
      
      
      The AutoRoll server is located here: https://autoroll.skia.org
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
      
      If the roll is causing failures, please contact the current sheriff, who should
      be CC'd on the roll, and stop the roller if necessary.
      
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
      TBR=stani@chromium.org
      
      Change-Id: I785e7882845c6f1df04114e5f871f0a62cc2e901
      Reviewed-on: https://chromium-review.googlesource.com/1028221
      Commit-Queue: skia-chromium-autoroll <skia-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
      Reviewed-by: default avatarskia-chromium-autoroll <skia-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
      Cr-Commit-Position: refs/heads/master@{#553660}
      89ad97cc
    • Derek Cheng's avatar
      [Cast MRP] Add a flag to connect to (test) devices with fixed ip. · 44aa3c0d
      Derek Cheng authored
      This flag is needed for the E2E tests to continue functioning as Cast
      discovery is moved to the browser side.
      
      The flag name is media-router-cast-device-ips, and the value is a
      comma-separated list of IP endpoints of the Cast devices. The port
      number can be omitted, and will default to 8009 in that case.
      
      Bug: 698940
      Change-Id: I1cf9b4ebc7c63f53ed811002eb917af137e62b74
      Reviewed-on: https://chromium-review.googlesource.com/1024237
      Commit-Queue: Derek Cheng <imcheng@chromium.org>
      Reviewed-by: default avatarBrandon Tolsch <btolsch@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553659}
      44aa3c0d
    • Dmitry Skiba's avatar
      Overhaul MemoryUma and report pressure from services. · 2153a8d7
      Dmitry Skiba authored
      MemoryUma class reports 3 memory pressure related metrics, but there
      are issues with them (see the bug), plus metrics are reported only for
      the browser process.
      
      We need memory pressure metrics for services too, in order to decide
      best ways of handling low memory situations.
      
      This CL deprecates the following metrics:
      
      * MemoryAndroid.NotificationBackground
      * MemoryAndroid.NotificationForeground
      * MemoryAndroid.LowMemoryTimeBetween
      
      and adds reporting of the following new metrics:
      
      * Android.MemoryPressureNotification.Browser
      * Android.MemoryPressureNotification.ChildService
      
      Bug: 834529
      Change-Id: If859958ce7adeeb6431f890dea2ffd7a3de8a4f1
      Reviewed-on: https://chromium-review.googlesource.com/1013077
      Commit-Queue: Dmitry Skiba <dskiba@chromium.org>
      Reviewed-by: default avatarYaron Friedman <yfriedman@chromium.org>
      Reviewed-by: default avatarMark Pearson <mpearson@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553658}
      2153a8d7
    • Andrey Lushnikov's avatar
      headless: create incognito profiles with Target.createBrowserContext · 63246108
      Andrey Lushnikov authored
      This patch starts creating off-the-record browser contexts in response
      to the Target.createBrowserContext() command.
      
      This should make no difference to the users, but has a few benefits for
      us:
      - alignes with the non-headless design of Target.createBrowserContext()
        method.
      - avoids issues with cookie persistance (see BUG)
      - saves some CPU cycles since we don't hit SQLite any more
      
      BUG=836075
      R=dgozman
      
      Change-Id: I1d33c37e72bc9a2745eda0efae9947f94386417b
      Reviewed-on: https://chromium-review.googlesource.com/1025402
      Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org>
      Reviewed-by: default avatarDmitry Gozman <dgozman@chromium.org>
      Reviewed-by: default avatarAlex Clarke <alexclarke@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553657}
      63246108
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /components/dom_distiller · bb23fc7a
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      TBR=wychen@chromium.org
      
      Bug: 825327
      Change-Id: I54dafd02e4631007e7ea15efff66e91f68063a3b
      Reviewed-on: https://chromium-review.googlesource.com/1024656Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553656}
      bb23fc7a
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in test_browser_thread_bundle.cc · 32870324
      Gabriel Charette authored
      The scripted change in patch set 1 was incorrect as it didn't consider that
      TestBrowserThread's constructor is receiving a MessageLoop*.
      
      Thankfully, as of recent changes to BrowserThreadImpl/TestBrowserThread this
      is no longer necessary.
      
      Update TestBrowserThread to not require a MessageLoop* and use this to get
      rid of direct MessageLoop usage in TestBrowserThreadBundle altogether :)
      
      This CL was uploaded by git cl split (originally).
      
      R=tommi@chromium.org
      
      Bug: 825327
      Change-Id: I6e529c7a2547bcfa7ae3ee9b017da91f3d068514
      Reviewed-on: https://chromium-review.googlesource.com/1024433
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Reviewed-by: default avatarFrançois Doray <fdoray@chromium.org>
      Reviewed-by: default avatarTommi <tommi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553655}
      32870324
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in... · d6009a71
      Gabriel Charette authored
      Migrate MessageLoop::current() to MessageLoopCurrent in /chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc
      
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      TBR=bartfab@chromium.org
      
      Bug: 825327
      Change-Id: I989f21cb92c8cabe876d054e56bdbe03f0b6f0d6
      Reviewed-on: https://chromium-review.googlesource.com/1024767Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553654}
      d6009a71
    • Wez's avatar
      Ignore WM_QUIT messages handled by MessagePumpForUI. · b26918c5
      Wez authored
      WM_QUIT messages are intended to be used internally by applications to
      exit message-pumping loops built using the GetMessage() API.
      
      Chromium MessageLoop/RunLoop have a common cross-platform Quit()
      mechanism, and much of our code assumes that loops will run until we
      explicitly ask them to Quit(), so we have no need to process WM_QUIT.
      
      We might see WM_QUIT messages injected by other applications, for some
      reason, and some code we run will use a GetMessage() loop and exit that
      via PostQuitMessage(). If a nested GetMessage() loop triggers multiple
      PostQuitMessage() calls before returning then we may end up with our
      MessagePumpForUI receiving WM_QUIT unintentionally.
      
      Bug: 720078
      Change-Id: I11df406ab4fd1d0a3b56899bf1a710ef51c048e9
      Reviewed-on: https://chromium-review.googlesource.com/1020452
      Commit-Queue: Wez <wez@chromium.org>
      Reviewed-by: default avatarScott Violet <sky@chromium.org>
      Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553653}
      b26918c5
    • Philip Rogers's avatar
      [RLS] Avoid full tree rebuilds on hit testing clip changes · 26e25729
      Philip Rogers authored
      This is a revert of [1] which caused performance regressions. This patch
      reimplements a solution that avoids full tree rebuilds when only hit
      testing clip values change in the clip tree.
      
      Typically, when property nodes are updated, we force a full tree
      rebuild if nodes are created or destroyed, but not if node values are
      simply updated. Clip nodes are an exception to this because changing
      their values ends up causing a full tree rebuild. The hit testing clip
      rect (aka clip_rect_excluding_overlay_scrollbars) is different though,
      and does not need to force a full tree rebuild when it changes. This
      patch special-cases the hit testing clip rects to avoid a full tree
      rebuild. When overlay scrollbars hide or appear, the hit testing
      clip values change but a full tree rebuild is not needed.
      
      [1] https://crrev.com/86d1cc1b33260b95367afdedb6195c842dc8e5c0
      
      Bug: 823999, 830746, 830771
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
      Change-Id: I7ab426aaead0c87a1aedf0980648505d82d40215
      Reviewed-on: https://chromium-review.googlesource.com/1026941Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
      Commit-Queue: Philip Rogers <pdr@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553652}
      26e25729
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in... · 7af3897b
      Gabriel Charette authored
      Migrate MessageLoop::current() to MessageLoopCurrent in /content/renderer/media/stream/media_stream_audio_processor_unittest.cc
      
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      TBR=aluebs@chromium.org
      
      Bug: 825327
      Change-Id: I9f324105a770fa05c8a0c621eaf21a58664d5447
      Reviewed-on: https://chromium-review.googlesource.com/1024796Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553651}
      7af3897b
    • Antonio Gomes's avatar
      fixup! [ozone/wayland] Add clipboard support · af25de26
      Antonio Gomes authored
      This CL is a fixup of [1] and also reverts [2], making
      all ozone_unittests run on linux.chromeos bots, without any skips,
      for both xdg_v5 and xdg_v6 shell implementations.
      
      Basically, CL brings some important code out of DCHECK. It was
      not affecting me locally, because I either build with is_debug
      or dcheck_always_on.
      
      [1] https://crrev.com/c/976461
      [2] https://crrev.com/c/1027030
      
      R=rjkroege@chromium.org
      TEST=ozone_unittests
      
      BUG=578890
      
      Change-Id: I18092d09df85e7aa78b85d208ba372504cd8ede9
      Reviewed-on: https://chromium-review.googlesource.com/1028030Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
      Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
      Cr-Commit-Position: refs/heads/master@{#553650}
      af25de26
    • Luke Halliwell's avatar
      Add alexst to chromecast/OWNERS · ae2200a8
      Luke Halliwell authored
      Bug: None
      Change-Id: I35be980d4b325f804ae4cb49b471bbd5ef55d6e9
      Reviewed-on: https://chromium-review.googlesource.com/1028134Reviewed-by: default avatarAlex Sakhartchouk <alexst@chromium.org>
      Reviewed-by: default avatarStephen Lanham <slan@chromium.org>
      Commit-Queue: Alex Sakhartchouk <alexst@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553649}
      ae2200a8
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /media · 92fe7d11
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      R=wolenetz@chromium.org
      
      Bug: 825327
      Change-Id: I7b560649fba9f86c99d259101bc7abc2434f294d
      Reviewed-on: https://chromium-review.googlesource.com/1024794
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Reviewed-by: default avatarMatthew Wolenetz <wolenetz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553648}
      92fe7d11
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /components/spellcheck · 21ff8048
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      TBR=groby@chromium.org
      
      Bug: 825327
      Change-Id: I7b103879e33e4c71534ca16b1270949ceb70ce9b
      Reviewed-on: https://chromium-review.googlesource.com/1024657Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553647}
      21ff8048
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /components/wifi · d6cc6adc
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      TBR=mef@chromium.org
      
      Bug: 825327
      Change-Id: I2dc4e772428c81ac04ee0be710b65ce8b8d897d5
      Reviewed-on: https://chromium-review.googlesource.com/1024476Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553646}
      d6cc6adc
    • Kevin Schoedel's avatar
      Modify chromecast gesture configuration and fling. · dd23dc39
      Kevin Schoedel authored
      Use VelocityTracker::Strategy::INT1, and scale down the initial fling velocity.
      
      Bug: b/77490018
      Test: manual on screen
      Change-Id: Icf5dbfaba5810a935bdc105a894e99bef1b5ad03
      Reviewed-on: https://chromium-review.googlesource.com/1028474
      Commit-Queue: Kevin Schoedel <kpschoedel@chromium.org>
      Reviewed-by: default avatarAlex Sakhartchouk <alexst@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553645}
      dd23dc39
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /services/ui · 9592d4ed
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      TBR=ben@chromium.org
      
      Bug: 825327
      Change-Id: Iff0e9fcf49b0a61b24cbd992b0503365f879a40c
      Reviewed-on: https://chromium-review.googlesource.com/1024752Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553644}
      9592d4ed
    • Michael Spang's avatar
      ui/display: Convert display callbacks to OnceCallback · 3ce84d2d
      Michael Spang authored
      This cleans up ui/display to use base::OnceCallback instead of
      base::Callback where appropriate.
      
      Bug: 714018
      Test: CQ & run chrome on eve
      
      Change-Id: I4231d9266f2d7df41701fe70fa8ef4a9b42b34c4
      Reviewed-on: https://chromium-review.googlesource.com/1026553Reviewed-by: default avatarDaniel Nicoara <dnicoara@chromium.org>
      Reviewed-by: default avatarkylechar <kylechar@chromium.org>
      Commit-Queue: Michael Spang <spang@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553643}
      3ce84d2d
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /chromecast/tracing · 1545075c
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      TBR=spang@chromium.org
      
      Bug: 825327
      Change-Id: I8c5b885a9ceb8069ff004254848b47d5b6fd55d0
      Reviewed-on: https://chromium-review.googlesource.com/1024393Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553642}
      1545075c
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /chrome/browser/extensions/api/downloads · 5177019d
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      TBR=benjhayden@chromium.org
      
      Bug: 825327
      Change-Id: I0ab6cebfc8184be74824fcfdb45b220808c049d3
      Reviewed-on: https://chromium-review.googlesource.com/1024374Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553641}
      5177019d
    • David Black's avatar
      Fixes compilation error. · c39c8df1
      David Black authored
      Seems to be due to refactoring of IsRunning to discrete states in
      https://chromium-review.googlesource.com/c/chromium/src/+/991458.
      
      Change-Id: Ie1b4313ff567d96afbff89fa2ed8ee877c83e457
      Reviewed-on: https://chromium-review.googlesource.com/1028470Reviewed-by: default avatarXiaohui Chen <xiaohuic@chromium.org>
      Commit-Queue: David Black <dmblack@google.com>
      Cr-Commit-Position: refs/heads/master@{#553640}
      c39c8df1
    • Sonny Sasaka's avatar
      dbus: Don't DCHECK unexpected message type, but ignore it · a3f28622
      Sonny Sasaka authored
      In dbus::ExportedObject, an assumption was made that no signal could be
      received for an exported object, so DCHECK was put there. Now that there
      is a use case of D-Bus forwarding by Bluetooth dispatcher, it is fine
      that an exported object receives D-Bus signal messages as it is a
      property change signal that is handled by dbus::ObjectManager. So we can
      just ignore message types other than method in dbus::ExportedObject
      rather than DCHECK it.
      
      BUG=835457
      
      Change-Id: Icae03881052b3d7365a9017e5f2b987a058cd356
      Reviewed-on: https://chromium-review.googlesource.com/1027081Reviewed-by: default avatarRyo Hashimoto <hashimoto@chromium.org>
      Reviewed-by: default avatarSatoru Takabayashi <satorux@google.com>
      Commit-Queue: Sonny Sasaka <sonnysasaka@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553639}
      a3f28622
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in... · cecb363d
      Gabriel Charette authored
      Migrate MessageLoop::current() to MessageLoopCurrent in /chrome/browser/app_controller_mac_browsertest.mm
      
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      TBR=thakis@chromium.org
      
      Bug: 825327
      Change-Id: I6aa4991f252ab4079f061f967d142a827c0a7c52
      Reviewed-on: https://chromium-review.googlesource.com/1024801Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553638}
      cecb363d
    • Ryan Sleevi's avatar
      Fix Markdown Syntax issues in IPC docs · 36bac5b0
      Ryan Sleevi authored
      Bug: None
      Change-Id: I059661fde35652c0fc867bcc60b02bfad3e178d6
      Reviewed-on: https://chromium-review.googlesource.com/1026488Reviewed-by: default avatarTom Sepez <tsepez@chromium.org>
      Commit-Queue: Ryan Sleevi <rsleevi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553637}
      36bac5b0
    • John Abd-El-Malek's avatar
      Skip ThrottlesAddedExactlyOnceTo*Downloads tests with the network service. · 6329dc2c
      John Abd-El-Malek authored
      These tests don't apply to the network service code path because
      1) ResourceThrottles aren't used
      2) Downloads go through a different path (interception of the URLLoader in NavigationRequest) that make the bug for these tests not possible
      
      Bug: 787614
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
      Change-Id: Ia3d620540801d26344fb8453228e911a2c629c10
      Reviewed-on: https://chromium-review.googlesource.com/1028364Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
      Commit-Queue: John Abd-El-Malek <jam@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553636}
      6329dc2c
    • Ned Nguyen's avatar
      Update system_health_smoke_test to generate test suffix with form <benchmark_name>/<story_name> · deeb65a0
      Ned Nguyen authored
      Bug: 836450
      Change-Id: Ia502e5b8dcd64531f191b6ac806c5496ce0876ae
      Reviewed-on: https://chromium-review.googlesource.com/1026809
      Commit-Queue: Ned Nguyen <nednguyen@google.com>
      Reviewed-by: default avatarJuan Antonio Navarro Pérez <perezju@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553635}
      deeb65a0
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /ui/app_list · d52d19a1
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      TBR=khmel@chromium.org
      
      Bug: 825327
      Change-Id: I47c48130ebfde9f3fbb8834439a83f419d1faff7
      Reviewed-on: https://chromium-review.googlesource.com/1024803Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553634}
      d52d19a1
    • Gabriel Charette's avatar
      Migrate MessageLoop::current() to MessageLoopCurrent in /chrome/browser/extensions · 24e8289b
      Gabriel Charette authored
      These changes were scripted as part of the effort to restrict exposure of the
      raw MessageLoop*.
      
      Note that many static methods exposed on MessageLoopCurrent are also deprecated
      so it is very well possible that this is migrating to an already deprecated
      method.
      
      The goal of this pass is to reduce usage of MessageLoop::current() (and
      ultimately make it impossible to obtain the MessageLoop* statically).
      
      As such I will not edit this CL unless the script did something logically wrong.
      I defer to owners to fix highlighted usage of already deprecated APIs.
      
      Possible script screw ups / things to look out for in this review:
       - Storing MessageLoopCurrent in a MessageLoop* variable or comparing it against
         one (I will go over that in a separate pass).
      
      Includes should have been stripped if that was the last usage of message_loop.h
      in that file.
      
      Please CQ if LGTY
      
      This CL was uploaded by git cl split.
      
      TBR=benwells@chromium.org
      
      Bug: 825327
      Change-Id: I18dfde173f4dec69a3ab5040a0f62e1e09005fce
      Reviewed-on: https://chromium-review.googlesource.com/1024394Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
      Commit-Queue: Gabriel Charette <gab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553633}
      24e8289b
    • Oleg Maximenko's avatar
      Force C locale on MacOS. · 564d6622
      Oleg Maximenko authored
      I believe that in old times when this locale reset was introduced (https://codereview.chromium.org/6347045), MacOS was not excluded for some particular reason just Linux was the main target.
      Here (https://bugs.chromium.org/p/angleproject/issues/detail?id=2493) is another reason to force C locale on MacOS too.
      
      Bug=720222
      
      Change-Id: I1cdc92e0b5561e0659e7b1bac7ec27655a2c73f6
      Reviewed-on: https://chromium-review.googlesource.com/1025091Reviewed-by: default avatarKen Rockot <rockot@chromium.org>
      Commit-Queue: Ken Rockot <rockot@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553632}
      564d6622
    • Reza.Zakerinasab's avatar
      Fix flaky ImageBitmap resize layout tests · 0c4a354e
      Reza.Zakerinasab authored
      ImageBitmap resize layout tests write an extensive amount of debug
      information to the console, as requested by Skia team. Apparently
      sometimes the test finishes before all the degug info are printed
      to the console, causing the tests to be flaky on try bots. This
      CL hides the debug info behind a test option, so they can be printed
      only if necessary.
      
      Bug: 829953
      Change-Id: I32955d2b49074cdf68ab7e59766d91fc560286cf
      Reviewed-on: https://chromium-review.googlesource.com/1026200Reviewed-by: default avatarJustin Novosad <junov@chromium.org>
      Commit-Queue: Mohammad Reza Zakerinasab <zakerinasab@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#553631}
      0c4a354e