New issue
Advanced search Search tips

Issue 766678 link

Starred by 4 users

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Introduce new thread restrictions API

Project Member Reported by fdoray@chromium.org, Sep 19 2017

Issue description

Project Member

Comment 1 by bugdroid1@chromium.org, Sep 25 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/23107218419d3f385e6bfd16a0f1d3f8899731b1

commit 23107218419d3f385e6bfd16a0f1d3f8899731b1
Author: Francois Doray <fdoray@chromium.org>
Date: Mon Sep 25 15:12:03 2017

Introduce new thread restrictions API.

Benefits of the new API:
- Naming consistent with TaskTraits.
- Separate friend lists for:
  - Allow blocking
  - Allow //base sync primitives in a scope that allows blocking
  - Allow //base sync primitives in a scope that doesn't allow blocking
- SetIOAllowed(true) and SetWaitAllowed(true) are replaced with 
  ScopedAllow* classes. 

Design doc:
https://docs.google.com/document/d/1zRg0P_bQYE8Oc5x5Shrd4CIkIevPiMBzxgq6awRrt-A/edit?usp=sharing

Bug: 766678
Change-Id: I0b2217f19562a2c7f1b08ca92a0f474e90ac4548
Reviewed-on: https://chromium-review.googlesource.com/672664
Commit-Queue: Francois Doray <fdoray@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#504053}
[modify] https://crrev.com/23107218419d3f385e6bfd16a0f1d3f8899731b1/base/BUILD.gn
[modify] https://crrev.com/23107218419d3f385e6bfd16a0f1d3f8899731b1/base/threading/thread_restrictions.cc
[modify] https://crrev.com/23107218419d3f385e6bfd16a0f1d3f8899731b1/base/threading/thread_restrictions.h
[add] https://crrev.com/23107218419d3f385e6bfd16a0f1d3f8899731b1/base/threading/thread_restrictions_unittest.cc

Project Member

Comment 2 by bugdroid1@chromium.org, Sep 27 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/43670e374d52b4837a8c34ebfa8835007156cf01

commit 43670e374d52b4837a8c34ebfa8835007156cf01
Author: Francois Doray <fdoray@chromium.org>
Date: Wed Sep 27 12:40:38 2017

Add presubmit check against usage of deprecated ThreadRestrictions APIs.

Bug: 766678
Change-Id: Id5c145190ee9c114a05494ca38533562514edcf8
Reviewed-on: https://chromium-review.googlesource.com/681615
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#504639}
[modify] https://crrev.com/43670e374d52b4837a8c34ebfa8835007156cf01/PRESUBMIT.py

Project Member

Comment 3 by bugdroid1@chromium.org, Oct 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/46dde8d511ef70ac588fd292d6c17398d2b72b0b

commit 46dde8d511ef70ac588fd292d6c17398d2b72b0b
Author: Francois Doray <fdoray@chromium.org>
Date: Fri Oct 06 04:15:02 2017

Remove WithBaseSyncPrimitives() from observer_list_unittest.cc.

The WithBaseSyncPrimitives() trait is deprecated.

ScopedAllowBaseSyncPrimitives(ForTesting|OutsideBlockingScope)
should be used instead.

Bug: 766678
Change-Id: Ib782e9904ddb14ec0c56973abf0324695383451f
Reviewed-on: https://chromium-review.googlesource.com/702655
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506961}
[modify] https://crrev.com/46dde8d511ef70ac588fd292d6c17398d2b72b0b/base/observer_list_unittest.cc

Project Member

Comment 4 by bugdroid1@chromium.org, Oct 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/91252549619b281a6a69736e3aac7b211001f8b9

commit 91252549619b281a6a69736e3aac7b211001f8b9
Author: Francois Doray <fdoray@chromium.org>
Date: Fri Oct 06 15:51:57 2017

Remove base::ThreadRestrictions::AssertWaitAllowed().

This method is deprecated. base::AssertBaseSyncPrimitivesAllowed()
should be used instead.

Bug: 766678
Change-Id: Ifab11f0e063cf5cb8660220e2afb15a32081d528
Reviewed-on: https://chromium-review.googlesource.com/672666
Reviewed-by: Gabriel Charette <gab@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#507082}
[modify] https://crrev.com/91252549619b281a6a69736e3aac7b211001f8b9/base/synchronization/condition_variable_posix.cc
[modify] https://crrev.com/91252549619b281a6a69736e3aac7b211001f8b9/base/synchronization/condition_variable_win.cc
[modify] https://crrev.com/91252549619b281a6a69736e3aac7b211001f8b9/base/synchronization/waitable_event_mac.cc
[modify] https://crrev.com/91252549619b281a6a69736e3aac7b211001f8b9/base/synchronization/waitable_event_posix.cc
[modify] https://crrev.com/91252549619b281a6a69736e3aac7b211001f8b9/base/synchronization/waitable_event_win.cc
[modify] https://crrev.com/91252549619b281a6a69736e3aac7b211001f8b9/base/task_scheduler/task_tracker_unittest.cc
[modify] https://crrev.com/91252549619b281a6a69736e3aac7b211001f8b9/base/task_scheduler/task_traits.h
[modify] https://crrev.com/91252549619b281a6a69736e3aac7b211001f8b9/base/threading/thread_restrictions.cc
[modify] https://crrev.com/91252549619b281a6a69736e3aac7b211001f8b9/base/threading/thread_restrictions.h
[modify] https://crrev.com/91252549619b281a6a69736e3aac7b211001f8b9/chrome/browser/metrics/chromeos_metrics_provider.cc
[modify] https://crrev.com/91252549619b281a6a69736e3aac7b211001f8b9/chrome/browser/printing/print_job.cc

Project Member

Comment 5 by bugdroid1@chromium.org, Oct 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0a1eefcde7ccee419017b6fb64399a37a7b091f2

commit 0a1eefcde7ccee419017b6fb64399a37a7b091f2
Author: Francois Doray <fdoray@chromium.org>
Date: Fri Oct 06 20:13:39 2017

Remove WithBaseSyncPrimitives() from sqlite_persistent_cookie_store_unittest.cc.

The WithBaseSyncPrimitives() trait is deprecated.

ScopedAllowBaseSyncPrimitives(ForTesting|OutsideBlockingScope)
should be used instead.

Bug: 766678
Change-Id: If81280480a33444cd21ef70abc4df5c676754dc9
Reviewed-on: https://chromium-review.googlesource.com/703481
Reviewed-by: Josh Karlin <jkarlin@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#507160}
[modify] https://crrev.com/0a1eefcde7ccee419017b6fb64399a37a7b091f2/net/extras/sqlite/sqlite_persistent_cookie_store_unittest.cc

Project Member

Comment 6 by bugdroid1@chromium.org, Oct 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/98ca9f065e1bb7b266628e98cc35f5e14323299c

commit 98ca9f065e1bb7b266628e98cc35f5e14323299c
Author: Francois Doray <fdoray@chromium.org>
Date: Tue Oct 10 16:00:03 2017

Remove WithBaseSyncPrimitives() from kiosk_app_update_service_browsertest.cc.

The WithBaseSyncPrimitives() trait is deprecated.

ScopedAllowBaseSyncPrimitives(ForTesting|OutsideBlockingScope)
should be used instead.

Bug: 766678
Change-Id: Iac05b0cf5a23430c6f632d9646ee4abdc7412b2a
Reviewed-on: https://chromium-review.googlesource.com/703485
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#507678}
[modify] https://crrev.com/98ca9f065e1bb7b266628e98cc35f5e14323299c/chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc

Project Member

Comment 7 by bugdroid1@chromium.org, Oct 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2ab2d8b4167ded955e29d04bb9b23ea6cd623f31

commit 2ab2d8b4167ded955e29d04bb9b23ea6cd623f31
Author: Francois Doray <fdoray@chromium.org>
Date: Tue Oct 10 19:35:45 2017

Remove WithBaseSyncPrimitives() from storage/browser/blob/.

The WithBaseSyncPrimitives() trait is deprecated.

ScopedAllowBaseSyncPrimitives(ForTesting|OutsideBlockingScope)
should be used instead.

Bug: 766678
Change-Id: I752e53d44d36eb5c6316a83e0f330472ed013b5f
Reviewed-on: https://chromium-review.googlesource.com/703479
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#507742}
[modify] https://crrev.com/2ab2d8b4167ded955e29d04bb9b23ea6cd623f31/storage/browser/blob/blob_registry_impl_unittest.cc
[modify] https://crrev.com/2ab2d8b4167ded955e29d04bb9b23ea6cd623f31/storage/browser/blob/blob_transport_strategy_unittest.cc
[modify] https://crrev.com/2ab2d8b4167ded955e29d04bb9b23ea6cd623f31/storage/browser/test/mock_bytes_provider.cc

Project Member

Comment 8 by bugdroid1@chromium.org, Oct 11 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/acb63cc18c7f0b25e51bfd01479570a1a8624288

commit acb63cc18c7f0b25e51bfd01479570a1a8624288
Author: Francois Doray <fdoray@chromium.org>
Date: Wed Oct 11 19:12:33 2017

Remove WithBaseSyncPrimitives() from file_service.cc.

The WithBaseSyncPrimitives() trait is deprecated.

ScopedAllowBaseSyncPrimitives(ForTesting|OutsideBlockingScope)
should be used instead.

Bug: 766678
Change-Id: I7180006d70691dfb29feaa2bf94ca80f4e14fbc0
Reviewed-on: https://chromium-review.googlesource.com/702721
Reviewed-by: Elliot Glaysher <erg@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#508057}
[modify] https://crrev.com/acb63cc18c7f0b25e51bfd01479570a1a8624288/base/threading/thread_restrictions.h
[modify] https://crrev.com/acb63cc18c7f0b25e51bfd01479570a1a8624288/components/leveldb/leveldb_mojo_proxy.cc
[modify] https://crrev.com/acb63cc18c7f0b25e51bfd01479570a1a8624288/services/file/file_service.cc

Project Member

Comment 9 by bugdroid1@chromium.org, Oct 13 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7fa236ce5cfe363c79c539e6631c64889cdd2e6f

commit 7fa236ce5cfe363c79c539e6631c64889cdd2e6f
Author: Francois Doray <fdoray@chromium.org>
Date: Fri Oct 13 17:45:39 2017

Remove WithBaseSyncPrimitives() from ffmpeg_demuxer.cc.

The WithBaseSyncPrimitives() trait is deprecated.

ScopedAllowBaseSyncPrimitives(ForTesting|OutsideBlockingScope)
should be used instead.

Bug: 766678
Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I17956af58ff09999c60aa90307b52a7feb87ba62
Reviewed-on: https://chromium-review.googlesource.com/702795
Commit-Queue: François Doray <fdoray@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#508747}
[modify] https://crrev.com/7fa236ce5cfe363c79c539e6631c64889cdd2e6f/base/threading/thread_restrictions.h
[modify] https://crrev.com/7fa236ce5cfe363c79c539e6631c64889cdd2e6f/media/filters/blocking_url_protocol.cc
[modify] https://crrev.com/7fa236ce5cfe363c79c539e6631c64889cdd2e6f/media/filters/ffmpeg_demuxer.cc

Project Member

Comment 10 by bugdroid1@chromium.org, Oct 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e6fb2d0077fdaea8393d527caf80f513803dbd06

commit e6fb2d0077fdaea8393d527caf80f513803dbd06
Author: Francois Doray <fdoray@chromium.org>
Date: Wed Oct 18 21:29:13 2017

Replace ScopedAllowIO with ScopedAllowBlockingForTesting in tests.

s/ThreadRestrictions::ScopedAllowIO allow_io;/
  ScopedAllowBlockingForTesting allow_blocking;/

in files that have the word "test" in their path.

ThreadRestrictions::ScopedAllowIO instances that are not named
|allow_io| are not changed by this CL. 

TBR=jam@chromium.org

Bug: 766678
Change-Id: Ie809d1b39d50c1669cd36399cdfe5657cf072c21
Reviewed-on: https://chromium-review.googlesource.com/718983
Reviewed-by: François Doray <fdoray@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509880}
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/apps/app_restore_service_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/base/test/multiprocess_test.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/app_controller_mac_browsertest.mm
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/apps/app_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/apps/app_shim/app_shim_host_manager_browsertest_mac.mm
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/apps/app_shim/app_shim_interactive_uitest_mac.mm
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/apps/guest_view/web_view_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/browsing_data/browsing_data_local_storage_helper_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/browsing_data/browsing_data_remover_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/chrome_service_worker_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/chromeos/customization/customization_document_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/chromeos/file_manager/file_manager_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/chromeos/file_manager/file_manager_browsertest_base.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/devtools/devtools_sanity_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/downgrade/user_data_downgrade_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/download/download_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/download/save_page_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/commands/command_service_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/extension_action/browser_action_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/file_system/file_system_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/i18n/i18n_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/media_galleries/media_galleries_watch_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/messaging/native_messaging_test_util.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/page_capture/page_capture_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/streams_private/streams_private_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/webrtc_logging_private/webrtc_event_log_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/app_background_page_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/app_process_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/chrome_test_extension_loader.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/content_verifier_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/extension_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/extension_keybinding_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/extension_resource_request_policy_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/extension_webui_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/lazy_background_page_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/service_worker_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/startup_helper_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/extensions/test_extension_dir.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/history/redirect_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/importer/edge_importer_browsertest_win.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/importer/ie_importer_browsertest_win.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/lifetime/browser_close_manager_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/media/encrypted_media_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/media/webrtc/webrtc_apprtc_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/media/webrtc/webrtc_audio_quality_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/media/webrtc/webrtc_internals_perf_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/media/webrtc/webrtc_stats_perf_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/media/webrtc/webrtc_video_quality_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/media_galleries/media_galleries_test_util.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/net/errorpage_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/net/network_context_configuration_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/net/profile_network_context_service_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/password_manager/password_manager_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/pdf/pdf_extension_test.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/plugins/plugin_power_saver_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/policy/cloud/cloud_policy_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/policy/policy_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/policy/policy_prefs_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/policy/test/local_policy_test_server.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/prefs/pref_functional_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/prefs/pref_service_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/prerender/prerender_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/printing/pwg_raster_converter_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/profiles/profile_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/profiling_host/memlog_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/service_process/service_process_control_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/sessions/session_restore_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/spellchecker/spellcheck_service_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ssl/ssl_browser_tests.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/sync/test/integration/bookmarks_helper.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/sync/test/integration/single_client_directory_sync_test.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/sync/test/integration/sync_extension_helper.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/sync/test/integration/sync_test.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/task_manager/providers/web_contents/tab_contents_tag_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/themes/theme_service_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ui/browser_focus_uitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ui/cocoa/extensions/extension_install_prompt_test_utils.mm
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ui/find_bar/find_bar_host_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ui/global_error/global_error_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ui/search/local_ntp_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ui/startup/startup_browser_creator_corrupt_profiles_browsertest_win.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ui/startup/startup_browser_creator_interactive_uitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ui/startup/startup_browser_creator_triggered_reset_browsertest_win.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ui/webui/policy_ui_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/browser/ui/webui/test_files_request_filter.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/test/base/in_process_browser_test.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/test/base/javascript_browser_test.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/test/base/testing_profile.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/test/base/ui_test_utils.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/test/base/web_ui_browser_test.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/test/media_router/media_router_integration_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/test/ppapi/ppapi_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/test/ppapi/ppapi_filechooser_browsertest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/chrome/test/remoting/qunit_browser_test_runner.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/components/autofill/core/browser/data_driven_test.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/components/subresource_filter/core/common/test_ruleset_creator.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/content/shell/browser/layout_test/layout_test_browser_main.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/content/shell/browser/layout_test/layout_test_message_filter.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/content/shell/browser/layout_test/test_info_extractor.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/crypto/scoped_test_nss_db.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/extensions/browser/api/printer_provider/printer_provider_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/extensions/browser/guest_view/app_view/app_view_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/extensions/browser/guest_view/web_view/web_view_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/extensions/shell/test/shell_apitest.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/net/test/cert_test_util.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/net/test/embedded_test_server/request_handler_util.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/net/test/spawned_test_server/remote_test_server_config.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/net/url_request/test_url_fetcher_factory.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/sql/test/test_helpers.cc
[modify] https://crrev.com/e6fb2d0077fdaea8393d527caf80f513803dbd06/storage/browser/blob/blob_transport_strategy_unittest.cc

Project Member

Comment 11 by bugdroid1@chromium.org, Oct 19 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d56d158d2a98e4b9db7ad6817c1e0ebcd74f432c

commit d56d158d2a98e4b9db7ad6817c1e0ebcd74f432c
Author: Francois Doray <fdoray@chromium.org>
Date: Thu Oct 19 19:26:34 2017

Add ScopedAllowBaseSyncPrimitives in MultiThreadedCertVerifier.

Bug: 766678
Change-Id: Id38d07cc60a5a97f2e60903449050032ea0a6cb8
Reviewed-on: https://chromium-review.googlesource.com/696124
Commit-Queue: François Doray <fdoray@chromium.org>
Reviewed-by: Eric Roman <eroman@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510157}
[modify] https://crrev.com/d56d158d2a98e4b9db7ad6817c1e0ebcd74f432c/base/threading/thread_restrictions.h
[modify] https://crrev.com/d56d158d2a98e4b9db7ad6817c1e0ebcd74f432c/net/cert/multi_threaded_cert_verifier.cc

Project Member

Comment 12 by bugdroid1@chromium.org, Oct 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/66bdfd838560f8fe9a7899b0f613f4a78f8c380d

commit 66bdfd838560f8fe9a7899b0f613f4a78f8c380d
Author: Francois Doray <fdoray@chromium.org>
Date: Fri Oct 20 13:50:37 2017

Remove base::ThreadRestrictions::AssertIOAllowed.

This API was replaced with base::AssertBlockingAllowed().

This CL is a search-and-replace:
s/ThreadRestrictions::AssertIOAllowed()/AssertBlockingAllowed()/
and some manual changes in thread_restrictions.h.

TBR=jam@chromium.org

Bug: 766678
Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win10_chromium_x64_rel_ng;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I05700504c1556da5dee39c1206df5ddd676a2cee
Reviewed-on: https://chromium-review.googlesource.com/728364
Commit-Queue: François Doray <fdoray@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Reviewed-by: Robert Liao <robliao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510422}
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/android_webview/browser/aw_contents_io_thread_client.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/android_webview/browser/aw_variations_service_client.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/ash/display/display_color_manager_chromeos.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/file_version_info_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/files/file_enumerator_posix.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/files/file_enumerator_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/files/file_posix.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/files/file_util_mac.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/files/file_util_posix.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/files/file_util_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/files/file_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/files/memory_mapped_file_posix.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/files/memory_mapped_file_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/metrics/persistent_memory_allocator.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/native_library_posix.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/native_library_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/nix/mime_util_xdg.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/process/launch_mac.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/process/launch_posix.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/sync_socket_posix.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/sync_socket_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/sys_info_posix.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/sys_info_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/task_scheduler/task_tracker_unittest.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/threading/platform_thread_posix.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/threading/platform_thread_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/threading/thread_restrictions.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/threading/thread_restrictions.h
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/base/win/shortcut.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/android/download/ui/thumbnail_provider.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/android/shortcut_helper.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/app_controller_mac.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/apps/app_shim/app_shim_host_manager_mac.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/background/background_mode_manager_mac.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/browser_shutdown.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/chromeos/app_mode/kiosk_app_data_base.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/chromeos/arc/arc_util.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/chromeos/arc/fileapi/arc_content_file_system_file_stream_reader.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/chromeos/arc/print/arc_print_service.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/chromeos/customization/customization_document.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/chromeos/mobile/mobile_activator.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/chromeos/mobile_config.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/chromeos/system/automatic_reboot_manager.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/conflicts/enumerate_shell_extensions_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/conflicts/msi_util_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/devtools/devtools_file_helper.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/download/download_commands.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client_browsertest.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/api/image_writer_private/operation.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/api/image_writer_private/removable_storage_provider_mac.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/api/music_manager_private/device_id_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/api/music_manager_private/device_id_mac.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/api/music_manager_private/device_id_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/api/page_capture/page_capture_api.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/api/storage/managed_value_store_cache.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/external_pref_loader.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/external_registry_loader_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/unpacked_installer.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/webstore_installer.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/extensions/zipfile_installer.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/importer/importer_list.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/media/android/cdm/media_drm_license_manager.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/media/webrtc/webrtc_log_util.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/media_galleries/chromeos/mtp_device_delegate_impl_chromeos.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/media_galleries/chromeos/mtp_read_file_worker.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/media_galleries/fileapi/av_scanning_file_validator.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/media_galleries/fileapi/supported_audio_video_checker.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/media_galleries/gallery_watch_manager.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/media_galleries/win/mtp_device_object_enumerator.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/media_galleries/win/mtp_device_operations_util.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/media_galleries/win/portable_device_map_service.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/memory_details_android.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/memory_details_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/memory_details_mac.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/memory_details_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/metrics/antivirus_metrics_provider_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/platform_util_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/prefs/incognito_mode_prefs.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/printing/cloud_print/privet_traffic_detector.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/printing/pdf_to_emf_converter.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/printing/printer_manager_dialog_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/printing/pwg_raster_converter.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/profile_resetter/profile_resetter.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/profiles/profile_impl.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/profiles/profile_info_cache.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/profiles/profile_manager.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/profiles/profile_shortcut_manager_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/safe_browsing/chrome_cleaner/chrome_cleaner_controller_impl_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/safe_browsing/download_protection/disk_image_type_sniffer_mac.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/safe_browsing/incident_reporting/environment_data_collection.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/shell_integration.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/shell_integration_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/shell_integration_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/sync_file_system/drive_backend/metadata_database.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/ui/ash/chrome_screenshot_grabber.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/ui/startup/startup_browser_creator.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/ui/webui/about_ui.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/ui/webui/chromeos/login/l10n_util.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/ui/webui/print_preview/local_printer_handler_default.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/ui/webui/print_preview/printer_capabilities.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/ui/webui/settings_utils_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/ui/webui/version_handler.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/upgrade_detector_impl.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/web_applications/web_app_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/web_applications/web_app_mac.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/web_applications/web_app_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/browser/win/jumplist_file_util.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chrome/common/service_process_util_mac.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chromecast/browser/metrics/external_metrics.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chromecast/crash/linux/dummy_minidump_generator.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chromeos/binder/driver.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chromeos/printing/ppd_cache.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/chromeos/printing/ppd_provider.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/crash/content/browser/crash_dump_manager_android.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/crash/content/browser/crash_handler_host_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/download/internal/file_monitor_impl.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/drive/resource_metadata_storage.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/metrics/drive_metrics_provider.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/metrics/machine_id_provider_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/storage_monitor/image_capture_device.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/storage_monitor/media_storage_util.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/storage_monitor/mtab_watcher_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/storage_monitor/portable_device_watcher_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/storage_monitor/storage_monitor_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/storage_monitor/storage_monitor_mac.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/subresource_filter/core/browser/ruleset_service.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/sync/base/get_session_name.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/components/web_restrictions/browser/web_restrictions_client.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/content/browser/cocoa/system_hotkey_helper_mac.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/content/browser/devtools/devtools_io_context.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/content/browser/devtools/protocol/devtools_download_manager_delegate.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/content/browser/download/base_file_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/content/browser/download/save_package.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/content/browser/webrtc/webrtc_eventlog_host.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/content/common/mac/font_loader.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/content/common/quarantine/quarantine_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/content/common/quarantine/quarantine_mac.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/content/common/quarantine/quarantine_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/dbus/bus.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/base/device_monitor_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/bluetooth/bluetooth_init_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/bluetooth/bluetooth_socket_net.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/bluetooth/bluetooth_socket_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/bluetooth/bluez/bluetooth_socket_bluez.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/hid/hid_connection_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/hid/hid_service_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/hid/input_service_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/serial/serial_device_enumerator_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/serial/serial_device_enumerator_mac.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/serial/serial_device_enumerator_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/usb/usb_device_handle_usbfs.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/usb/usb_device_impl.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/device/usb/usb_service_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/extensions/browser/api/declarative_net_request/utils.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/extensions/browser/api/execute_code_function.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/extensions/browser/api/file_handlers/app_file_handler_util.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/extensions/browser/api/system_storage/storage_info_provider.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/extensions/browser/value_store/lazy_leveldb.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/extensions/browser/value_store/legacy_value_store_factory.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/extensions/browser/value_store/leveldb_scoped_database.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/extensions/browser/value_store/leveldb_value_store.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/extensions/common/file_util.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/extensions/common/manifest_handler.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/gpu/ipc/service/gpu_init.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/ios/chrome/app/memory_monitor.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/ios/chrome/browser/browser_state/chrome_browser_state_manager_impl.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/ios/chrome/browser/file_metadata_util.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/ios/chrome/browser/reading_list/reading_list_download_service.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/ios/chrome/browser/reading_list/url_downloader.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/ios/chrome/browser/sessions/session_service_ios.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/ios/chrome/browser/share_extension/share_extension_item_receiver.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/ios/chrome/browser/snapshots/snapshot_cache.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/ios/chrome/browser/ui/browser_view_controller.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/ios/chrome/browser/ui/external_file_controller.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/ios/chrome/browser/ui/open_in_controller.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/ios/chrome/common/app_group/app_group_metrics_mainapp.mm
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/media/audio/audio_debug_file_writer.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/media/capture/video/file_video_capture_device_factory.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/net/base/network_interfaces_getifaddrs.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/net/base/network_interfaces_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/net/dns/dns_config_service_win.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/printing/backend/cups_jobs.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/printing/printed_document.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/services/device/generic_sensor/linux/sensor_device_manager.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/services/device/generic_sensor/platform_sensor_reader_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/services/device/time_zone_monitor/time_zone_monitor_linux.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/sql/connection.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/sql/connection.h
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/storage/browser/blob/blob_memory_controller.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/storage/browser/quota/quota_settings.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d/third_party/leveldatabase/env_chromium.cc
[modify] https://crrev.com/66bdfd838560f8fe9a7899b0f613f4a78f8c380d
Project Member

Comment 13 by bugdroid1@chromium.org, Oct 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/eaa80601433fdf6ce06e2b515eb15c6e4411bd55

commit eaa80601433fdf6ce06e2b515eb15c6e4411bd55
Author: Francois Doray <fdoray@chromium.org>
Date: Fri Oct 20 17:38:31 2017

Remove OCSPScopedAllowBaseSyncPrimitives.

This is no longer needed with the
MultiThreadedCertVerifierScopedAllowBaseSyncPrimitives
in DoVerifyOnWorkerThread (cf.
https://chromium-review.googlesource.com/c/chromium/src/+/696124)

TBR=gab@chromium.org

Bug: 766678
Change-Id: I6a9a2dc29b5bf501ca1163b5721dd81a1f1c95a7
Reviewed-on: https://chromium-review.googlesource.com/728360
Commit-Queue: François Doray <fdoray@chromium.org>
Reviewed-by: Eric Roman <eroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510479}
[modify] https://crrev.com/eaa80601433fdf6ce06e2b515eb15c6e4411bd55/base/threading/thread_restrictions.h
[modify] https://crrev.com/eaa80601433fdf6ce06e2b515eb15c6e4411bd55/net/cert_net/nss_ocsp.cc

Project Member

Comment 14 by bugdroid1@chromium.org, Oct 30 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a678fc19e39e4ce6416ac6836b2ca0b4252def21

commit a678fc19e39e4ce6416ac6836b2ca0b4252def21
Author: Francois Doray <fdoray@chromium.org>
Date: Mon Oct 30 22:18:06 2017

Add AssertBaseSyncPrimitivesAllowed() in Process::WaitForExit*().

With this CL, calls to Process::WaitForExit*() must be done
within the scope of a base::ScopedAllowBaseSyncPrimitives*.

Since calls to Process::WaitForExit*() can potentially
deadlock, it is desirable to have them reviewed by a //base
OWNER.

Bug: 766678
Change-Id: I1d5cc98984b84a412492db5f83c8db4b20396367
Reviewed-on: https://chromium-review.googlesource.com/703475
Commit-Queue: François Doray <fdoray@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Elliot Glaysher <erg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512642}
[modify] https://crrev.com/a678fc19e39e4ce6416ac6836b2ca0b4252def21/base/process/launch_posix.cc
[modify] https://crrev.com/a678fc19e39e4ce6416ac6836b2ca0b4252def21/base/process/process_posix.cc
[modify] https://crrev.com/a678fc19e39e4ce6416ac6836b2ca0b4252def21/base/process/process_win.cc
[modify] https://crrev.com/a678fc19e39e4ce6416ac6836b2ca0b4252def21/base/threading/thread_restrictions.h
[modify] https://crrev.com/a678fc19e39e4ce6416ac6836b2ca0b4252def21/chrome/browser/shell_integration_linux.cc

Project Member

Comment 15 by bugdroid1@chromium.org, Nov 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6f3478dfd7d29b9872871718bd08493ed0c8bc8e

commit 6f3478dfd7d29b9872871718bd08493ed0c8bc8e
Author: Francois Doray <fdoray@chromium.org>
Date: Fri Nov 17 22:41:12 2017

Remove WithBaseSyncPrimitives() from rlz_tracker.cc.

The WithBaseSyncPrimitives() trait is deprecated.

ScopedAllowBaseSyncPrimitives(ForTesting|OutsideBlockingScope)
should be used instead.

Bug: 766678
Change-Id: Ib8e512a0c4f32ab7eec0ade8764495614bf3fb69
Reviewed-on: https://chromium-review.googlesource.com/703200
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Roger Tawa <rogerta@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517594}
[modify] https://crrev.com/6f3478dfd7d29b9872871718bd08493ed0c8bc8e/base/threading/thread_restrictions.h
[modify] https://crrev.com/6f3478dfd7d29b9872871718bd08493ed0c8bc8e/components/rlz/rlz_tracker.cc
[modify] https://crrev.com/6f3478dfd7d29b9872871718bd08493ed0c8bc8e/rlz/lib/financial_ping.cc

Project Member

Comment 16 by bugdroid1@chromium.org, Aug 21

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/21cd53193574d67c4b3f89a405f7a31a01dde04b

commit 21cd53193574d67c4b3f89a405f7a31a01dde04b
Author: Francois Doray <fdoray@chromium.org>
Date: Tue Aug 21 13:32:35 2018

Remove usage of ScopedAllowIO in test files.

ScopedAllowBlockingForTesting should be used instead.

This should be a no-op change.

TBR=gab@chromium.org

Bug: 766678
Change-Id: I02f4af90c410efa3dccce193d134ec46555e7ef1
Reviewed-on: https://chromium-review.googlesource.com/1171559
Commit-Queue: François Doray <fdoray@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584724}
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/chrome/test/ppapi/ppapi_test.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/browser/accessibility/dump_accessibility_browsertest_base.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/browser/accessibility/dump_accessibility_events_browsertest.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/browser/browser_side_navigation_browsertest.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/browser/cross_site_transfer_browsertest.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/browser/devtools/protocol/devtools_protocol_browsertest.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/browser/download/download_browsertest.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/browser/download/mhtml_generation_browsertest.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/browser/indexed_db/indexed_db_browsertest.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/browser/security_exploit_browsertest.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/browser/tracing/tracing_controller_browsertest.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/browser/webui/web_ui_mojo_browsertest.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/public/test/content_browser_test_utils.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/renderer/dom_serializer_browsertest.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/test/content_browser_test_test.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/test/ppapi/ppapi_test.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/content/test/webui_resource_browsertest.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/media/cast/test/utility/standalone_cast_environment.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/net/test/embedded_test_server/embedded_test_server.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/net/test/spawned_test_server/local_test_server.cc
[modify] https://crrev.com/21cd53193574d67c4b3f89a405f7a31a01dde04b/net/test/test_data_directory.cc

@fdoray : just realized we have base::DisallowWaiting(), base::DisallowBaseSyncPrimitives(), and base::SetWaitAllowed(). Can we coalesce these please :)?
Project Member

Comment 18 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1cad95562f0fbd28741173bc8e4ba82fb0eb8488

commit 1cad95562f0fbd28741173bc8e4ba82fb0eb8488
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Thu Nov 08 00:32:14 2018

[TaskScheduler]: Update ScopedAllowBaseSyncPrimitives friend list.

Preparing work for migrating ThreadRestrictions::ScopedAllowWait to
ScopedAllowBaseSyncPrimitives.
This CL updates the friendlist for ScopedAllowBaseSyncPrimitives and
ScopedAllowBaseSyncPrimitivesWithoutBlockingScope.
Some cases might need to be adjusted if it was labeled wrong, but we can assume
that most cases are correct. This saves us from updating this file for each
cases.

Bug: 766678
Change-Id: Ie11bca133f7664355425cfaefcffb4acc0373731
Reviewed-on: https://chromium-review.googlesource.com/c/1324100
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Reviewed-by: François Doray <fdoray@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606250}
[modify] https://crrev.com/1cad95562f0fbd28741173bc8e4ba82fb0eb8488/base/threading/thread_restrictions.h

Project Member

Comment 19 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/891636646c163b2ad0ff84704fa12bbf26acf984

commit 891636646c163b2ad0ff84704fa12bbf26acf984
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Thu Nov 08 03:01:15 2018

[TaskScheudler]: Migrate off of ScopedAllowWait in /content/browser/gpu

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowSyncPrimitives in non-test files
 * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=backer@chromium.org

Bug: 766678
Change-Id: I91a476bd46437c98a53cfdb2ac5c438dde1e495c
Reviewed-on: https://chromium-review.googlesource.com/c/1325193
Reviewed-by: Antoine Labour <piman@chromium.org>
Commit-Queue: Antoine Labour <piman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606306}
[modify] https://crrev.com/891636646c163b2ad0ff84704fa12bbf26acf984/content/browser/gpu/browser_gpu_channel_host_factory.cc

Project Member

Comment 20 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/78d31c19a31277dc9690df98c7c1c64009256695

commit 78d31c19a31277dc9690df98c7c1c64009256695
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Thu Nov 08 03:26:58 2018

[TaskScheudler]: Migrate off of ScopedAllowWait in /gpu

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowSyncPrimitives in non-test files
 * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=piman@chromium.org

Bug: 766678
Change-Id: I6f4e77e4d48a29afc52709cf1c1b82ef08be7f98
Reviewed-on: https://chromium-review.googlesource.com/c/1325229
Reviewed-by: Antoine Labour <piman@chromium.org>
Commit-Queue: Antoine Labour <piman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606315}
[modify] https://crrev.com/78d31c19a31277dc9690df98c7c1c64009256695/gpu/ipc/client/gpu_channel_host.cc

Project Member

Comment 21 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/26d05e6e3d992bfdedbf1ca63c8012782606bfb3

commit 26d05e6e3d992bfdedbf1ca63c8012782606bfb3
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Thu Nov 08 05:25:39 2018

[TaskScheudler]: Migrate off of ScopedAllowWait in /content/renderer

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowSyncPrimitives in non-test files
 * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=haraken@chromium.org

Bug: 766678
Change-Id: Ib67286038ee8d3f1db66a095f029e5f6a7f000d4
Reviewed-on: https://chromium-review.googlesource.com/c/1325209
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Kentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606355}
[modify] https://crrev.com/26d05e6e3d992bfdedbf1ca63c8012782606bfb3/content/renderer/categorized_worker_pool.cc

Project Member

Comment 22 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/50b50793ee7891ab8ff9a4bab66c0c43391aa4ad

commit 50b50793ee7891ab8ff9a4bab66c0c43391aa4ad
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Thu Nov 08 15:54:39 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /base/profiler/stack_sampling_profiler.cc

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowSyncPrimitives in non-test files
 * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=wittman@chromium.org

Bug: 766678
Change-Id: I2c45612b77a49ca5720da95093b0cdd8845b6f03
Reviewed-on: https://chromium-review.googlesource.com/c/1325191
Reviewed-by: Mike Wittman <wittman@chromium.org>
Commit-Queue: Mike Wittman <wittman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606478}
[modify] https://crrev.com/50b50793ee7891ab8ff9a4bab66c0c43391aa4ad/base/profiler/stack_sampling_profiler.cc

Project Member

Comment 23 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/48a2f8302e2d232721a80641fa60fd6116672c94

commit 48a2f8302e2d232721a80641fa60fd6116672c94
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Thu Nov 08 16:20:24 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /content/browser/browser_main_loop.cc

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowBaseSyncPrimitives in non-test files
 * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=gab@chromium.org

Bug: 766678
Change-Id: I51b024db95473edf6ee3efb82879c95be92b9191
Reviewed-on: https://chromium-review.googlesource.com/c/1325219
Reviewed-by: Gabriel Charette <gab@chromium.org>
Commit-Queue: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606490}
[modify] https://crrev.com/48a2f8302e2d232721a80641fa60fd6116672c94/content/browser/browser_main_loop.cc

Project Member

Comment 24 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7575b70d508df70d39c99cecd62b9d8fdadff6fe

commit 7575b70d508df70d39c99cecd62b9d8fdadff6fe
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Thu Nov 08 16:46:33 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /cc

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowSyncPrimitives in non-test files
 * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=kylechar@chromium.org

Bug: 766678, 902653
Change-Id: I30a5956028c8d7bca56be07433b2b2f31592ae9f
Reviewed-on: https://chromium-review.googlesource.com/c/1324395
Reviewed-by: kylechar <kylechar@chromium.org>
Commit-Queue: kylechar <kylechar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606497}
[modify] https://crrev.com/7575b70d508df70d39c99cecd62b9d8fdadff6fe/cc/base/completion_event.h
[modify] https://crrev.com/7575b70d508df70d39c99cecd62b9d8fdadff6fe/cc/raster/single_thread_task_graph_runner.cc

Project Member

Comment 25 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2429b3291ae78971bd6478bacf7c75db857ba961

commit 2429b3291ae78971bd6478bacf7c75db857ba961
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Thu Nov 08 17:27:59 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /remoting

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowSyncPrimitives in non-test files
 * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=sergeyu@chromium.org

Bug: 766678
Change-Id: I769a4567e23b45976732ec447889eeb683faf68b
Reviewed-on: https://chromium-review.googlesource.com/c/1324917
Reviewed-by: Joe Downing <joedow@chromium.org>
Commit-Queue: Joe Downing <joedow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606513}
[modify] https://crrev.com/2429b3291ae78971bd6478bacf7c75db857ba961/remoting/base/auto_thread.cc

Project Member

Comment 26 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c39fa832f3e306352386c6d92b4e1a59251c4a9f

commit c39fa832f3e306352386c6d92b4e1a59251c4a9f
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Thu Nov 08 17:48:18 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /net

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowBaseSyncPrimitives in non-test files
 * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=morlovich@chromium.org

Bug: 766678
Change-Id: Ibbaf0d854d2c8fb08b515e3fe8a3c7614630ab62
Reviewed-on: https://chromium-review.googlesource.com/c/1325203
Reviewed-by: Maks Orlovich <morlovich@chromium.org>
Commit-Queue: Maks Orlovich <morlovich@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606524}
[modify] https://crrev.com/c39fa832f3e306352386c6d92b4e1a59251c4a9f/net/base/address_tracker_linux.cc
[modify] https://crrev.com/c39fa832f3e306352386c6d92b4e1a59251c4a9f/net/base/network_change_notifier_mac.cc

Project Member

Comment 27 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a9142d46d903b864b33c5b3187f8602b9e72c01a

commit a9142d46d903b864b33c5b3187f8602b9e72c01a
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Thu Nov 08 17:59:17 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /chrome/browser/password_manager

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowBaseSyncPrimitives in non-test files
 * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=kolos@chromium.org

Bug: 766678
Change-Id: I3fd284aae2f351224ceb21852bbf6737c031fc56
Reviewed-on: https://chromium-review.googlesource.com/c/1325204
Reviewed-by: Vaclav Brozek <vabr@chromium.org>
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606532}
[modify] https://crrev.com/a9142d46d903b864b33c5b3187f8602b9e72c01a/chrome/browser/password_manager/native_backend_kwallet_x.cc

Project Member

Comment 28 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2d5b81df320e6badad2507a46ecca1d221771c2a

commit 2d5b81df320e6badad2507a46ecca1d221771c2a
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Thu Nov 08 18:11:41 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /chromeos

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowSyncPrimitives in non-test files
 * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=alemate@chromium.org

Bug: 766678
Change-Id: I24ef60f737d37fd901d8e765983d45742b530c7a
Reviewed-on: https://chromium-review.googlesource.com/c/1324396
Reviewed-by: Alexander Alekseev <alemate@chromium.org>
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606538}
[modify] https://crrev.com/2d5b81df320e6badad2507a46ecca1d221771c2a/chromeos/system/statistics_provider.cc

Project Member

Comment 29 by bugdroid1@chromium.org, Nov 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c97fd8232ffb173bd20e24aa0e85e8f084a4cefe

commit c97fd8232ffb173bd20e24aa0e85e8f084a4cefe
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Thu Nov 08 19:14:19 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /mojo

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowSyncPrimitives in non-test files
 * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=sky@chromium.org

Bug: 766678
Change-Id: Id08163a2526a0583da8fee44893b952945b6371d
Reviewed-on: https://chromium-review.googlesource.com/c/1325189
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606561}
[modify] https://crrev.com/c97fd8232ffb173bd20e24aa0e85e8f084a4cefe/mojo/public/cpp/bindings/sync_call_restrictions.h

Project Member

Comment 30 by bugdroid1@chromium.org, Nov 9

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/80813c4fbe697febcdc6ef1041bdf54b3a05cc27

commit 80813c4fbe697febcdc6ef1041bdf54b3a05cc27
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Fri Nov 09 18:22:24 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /content/public/test

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowSyncPrimitives in non-test files
 * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=sky@chromium.org

Bug: 766678
Change-Id: I3b6193072a7049433d38a61ff62c1f34454c7b5e
Reviewed-on: https://chromium-review.googlesource.com/c/1324454
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606900}
[modify] https://crrev.com/80813c4fbe697febcdc6ef1041bdf54b3a05cc27/content/public/test/browser_test_base.cc

Project Member

Comment 31 by bugdroid1@chromium.org, Nov 9

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1b2bc2359cf00f11dfac0e4d1c7d74003556fd01

commit 1b2bc2359cf00f11dfac0e4d1c7d74003556fd01
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Fri Nov 09 23:33:47 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /chromeos/dbus

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowBaseSyncPrimitives in non-test files
 * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=stevenjb@chromium.org

Bug: 766678
Change-Id: I931476842857ed391d7148febbcac1c811a9ead1
Reviewed-on: https://chromium-review.googlesource.com/c/1324398
Commit-Queue: Gabriel Charette <gab@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607029}
[modify] https://crrev.com/1b2bc2359cf00f11dfac0e4d1c7d74003556fd01/base/threading/thread_restrictions.h
[modify] https://crrev.com/1b2bc2359cf00f11dfac0e4d1c7d74003556fd01/chromeos/dbus/blocking_method_caller.cc

Project Member

Comment 32 by bugdroid1@chromium.org, Nov 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/affab0d0760b821a10df0a346a53c4fed069f060

commit affab0d0760b821a10df0a346a53c4fed069f060
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Mon Nov 12 15:51:11 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /content/browser

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowBaseSyncPrimitives in non-test files
 * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=boliu@chromium.org

Bug: 766678
Change-Id: Id041725a059110494a5805f98f3eba5b5bab6bff
Reviewed-on: https://chromium-review.googlesource.com/c/1324453
Reviewed-by: Bo <boliu@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607239}
[modify] https://crrev.com/affab0d0760b821a10df0a346a53c4fed069f060/base/threading/thread_restrictions.h
[modify] https://crrev.com/affab0d0760b821a10df0a346a53c4fed069f060/content/browser/frame_host/debug_urls.cc

Project Member

Comment 33 by bugdroid1@chromium.org, Nov 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/55c56063d560fde2366085adf560591c97a1a693

commit 55c56063d560fde2366085adf560591c97a1a693
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Mon Nov 12 16:36:29 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /base/task/task_scheduler

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowSyncPrimitives in non-test files
 * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=fdoray@chromium.org

Bug: 766678
Change-Id: I49ce1451e0a57c832a2ef09d00364aba4b6a69e9
Reviewed-on: https://chromium-review.googlesource.com/c/1324397
Reviewed-by: François Doray <fdoray@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607253}
[modify] https://crrev.com/55c56063d560fde2366085adf560591c97a1a693/base/task/task_scheduler/task_tracker.cc

Owner: etiennep@chromium.org
etiennep@ is now in charge of this.
Project Member

Comment 35 by bugdroid1@chromium.org, Nov 12

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/22c3f92b783bc503bb81bc758cf1caba3a3c3809

commit 22c3f92b783bc503bb81bc758cf1caba3a3c3809
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Mon Nov 12 23:54:10 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /net/disk_cache

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowBaseSyncPrimitives in non-test files
 * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=jkarlin@chromium.org

Bug: 766678
Change-Id: I51f5ca1c02138ff83229148f833f53bf1c0a1c8e
Reviewed-on: https://chromium-review.googlesource.com/c/1325208
Reviewed-by: Josh Karlin <jkarlin@chromium.org>
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607375}
[modify] https://crrev.com/22c3f92b783bc503bb81bc758cf1caba3a3c3809/net/disk_cache/blockfile/backend_impl.cc
[modify] https://crrev.com/22c3f92b783bc503bb81bc758cf1caba3a3c3809/net/disk_cache/blockfile/in_flight_io.cc

Project Member

Comment 36 by bugdroid1@chromium.org, Nov 13

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/80a30288efe7d0383a660f537f21fca524dfe7e4

commit 80a30288efe7d0383a660f537f21fca524dfe7e4
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Tue Nov 13 18:47:17 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /content/shell

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowBaseSyncPrimitives in non-test files
 * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

This CL required special attention:
 * ScopedAllowWaitForAndroidLayoutTests was deleted in favor of
   ScopedAllowBaseSyncPrimitivesForTesting.
 * |reduced_restrictions_| was removed because the related WaitableEvent is
   now declared as idle, which does not require any allowance.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=peter@chromium.org

Bug: 766678
Change-Id: I8065043e9b1b5005fb9ff2894cb2dc30098efd8e
Reviewed-on: https://chromium-review.googlesource.com/c/1325205
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Reviewed-by: Peter Beverloo <peter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607673}
[modify] https://crrev.com/80a30288efe7d0383a660f537f21fca524dfe7e4/base/threading/thread_restrictions.h
[modify] https://crrev.com/80a30288efe7d0383a660f537f21fca524dfe7e4/content/shell/browser/layout_test/blink_test_controller.h
[modify] https://crrev.com/80a30288efe7d0383a660f537f21fca524dfe7e4/content/shell/browser/layout_test/scoped_android_configuration.cc

Project Member

Comment 37 by bugdroid1@chromium.org, Nov 13

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bcc4146d6611e4979f5bc1f71274d17a4f2e1a1e

commit bcc4146d6611e4979f5bc1f71274d17a4f2e1a1e
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Tue Nov 13 18:47:20 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /android_webview

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowBaseSyncPrimitives in non-test files
 * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=torne@chromium.org

Bug: 766678
Change-Id: I30e57cb0d9a0b1a449a4227561e97ea330ff6a12
Reviewed-on: https://chromium-review.googlesource.com/c/1325195
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607674}
[modify] https://crrev.com/bcc4146d6611e4979f5bc1f71274d17a4f2e1a1e/android_webview/browser/aw_form_database_service.cc
[modify] https://crrev.com/bcc4146d6611e4979f5bc1f71274d17a4f2e1a1e/android_webview/browser/cookie_manager.cc
[modify] https://crrev.com/bcc4146d6611e4979f5bc1f71274d17a4f2e1a1e/base/threading/thread_restrictions.h

Project Member

Comment 38 by bugdroid1@chromium.org, Nov 15

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1ab594e77fa994b5f5c7b16c31278afba4be3a8c

commit 1ab594e77fa994b5f5c7b16c31278afba4be3a8c
Author: Etienne Pierre-Doray <etiennep@chromium.org>
Date: Thu Nov 15 16:26:50 2018

Revert "[TaskScheduler]: Migrate off of ScopedAllowWait in /android_webview"

This reverts commit bcc4146d6611e4979f5bc1f71274d17a4f2e1a1e.

Reason for revert: android.webkit.cts.WebViewStartupTest#testCookieManagerBlockingUiThread is consistently failing.

Bug: 905025

Original change's description:
> [TaskScheduler]: Migrate off of ScopedAllowWait in /android_webview
> 
> base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
> explicit counterpart.
> 
> It should have been replaced by :
>  * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
>  * base::ScopedAllowBaseSyncPrimitives in non-test files
>  * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
>    that don't allow blocking
> The last one is strongly frowned upon but this CL aims to document existing
> behavior rather than address it. Owners are encouraged to follow-up by fixing
> unnecessary waits and more particularly unnecessary waits
> outside-blocking-scope.
> 
> Note: The non-for-testing versions require friend'ing in thread_restrictions.h
> but care was taken to add these friends ahead of git cl split (since it wasn't
> possible to do a line-by-line associated CL split).
> Refer to the top-level CL if necessary :
> https://chromium-review.googlesource.com/c/chromium/src/+/1288533
> 
> Please CQ if LGTY!
> 
> This CL was uploaded by git cl split.
> 
> R=​torne@chromium.org
> 
> Bug: 766678
> Change-Id: I30e57cb0d9a0b1a449a4227561e97ea330ff6a12
> Reviewed-on: https://chromium-review.googlesource.com/c/1325195
> Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
> Reviewed-by: Gabriel Charette <gab@chromium.org>
> Reviewed-by: Richard Coles <torne@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#607674}

TBR=gab@chromium.org,torne@chromium.org,etiennep@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 766678
Change-Id: If1ee0994f4387786662d7814617b297939b4dffb
Reviewed-on: https://chromium-review.googlesource.com/c/1337637
Reviewed-by: Etienne Pierre-Doray <etiennep@chromium.org>
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608392}
[modify] https://crrev.com/1ab594e77fa994b5f5c7b16c31278afba4be3a8c/android_webview/browser/aw_form_database_service.cc
[modify] https://crrev.com/1ab594e77fa994b5f5c7b16c31278afba4be3a8c/android_webview/browser/cookie_manager.cc
[modify] https://crrev.com/1ab594e77fa994b5f5c7b16c31278afba4be3a8c/base/threading/thread_restrictions.h

Project Member

Comment 39 by bugdroid1@chromium.org, Nov 16

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f1da68b3bf58a8e7a2fe669c095470532d042382

commit f1da68b3bf58a8e7a2fe669c095470532d042382
Author: Etienne Pierre-Doray <etiennep@chromium.org>
Date: Fri Nov 16 17:13:08 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /base/android/java_handler_thread.cc

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowBaseSyncPrimitives in non-test files
 * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=rmcilroy@chromium.org

Bug: 766678
Change-Id: Ibed489dd8ea6d845199f91081f3e986f3014cf67
Reviewed-on: https://chromium-review.googlesource.com/c/1325196
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608817}
[modify] https://crrev.com/f1da68b3bf58a8e7a2fe669c095470532d042382/base/android/java_handler_thread.cc
[modify] https://crrev.com/f1da68b3bf58a8e7a2fe669c095470532d042382/base/threading/thread_restrictions.h

Project Member

Comment 40 by bugdroid1@chromium.org, Nov 20

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8e6a1ba0881e7f590244ec46b62d576489e23857

commit 8e6a1ba0881e7f590244ec46b62d576489e23857
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Tue Nov 20 21:25:13 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /content/browser/renderer_host/text_input_client_mac.mm

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowBaseSyncPrimitives in non-test files
 * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=ellyjones@chromium.org

Bug: 766678
Change-Id: I39a4449295407eaf1016cbfdb1e5b8842f1dda7c
Reviewed-on: https://chromium-review.googlesource.com/c/1325206
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#609808}
[modify] https://crrev.com/8e6a1ba0881e7f590244ec46b62d576489e23857/content/browser/renderer_host/text_input_client_mac.mm

Project Member

Comment 41 by bugdroid1@chromium.org, Nov 21

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/90927154fc2ebac2c77c0b43957bcbf55df40637

commit 90927154fc2ebac2c77c0b43957bcbf55df40637
Author: Etienne Pierre-Doray <etiennep@chromium.org>
Date: Wed Nov 21 01:59:05 2018

Revert "[TaskScheduler]: Migrate off of ScopedAllowWait in /base/profiler/stack_sampling_profiler.cc"

This reverts commit 50b50793ee7891ab8ff9a4bab66c0c43391aa4ad.

Reason for revert: Thread restriction is not valid for sampling profier

Bug:  907177 

Original change's description:
> [TaskScheduler]: Migrate off of ScopedAllowWait in /base/profiler/stack_sampling_profiler.cc
> 
> base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
> explicit counterpart.
> 
> It should have been replaced by :
>  * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
>  * base::ScopedAllowSyncPrimitives in non-test files
>  * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
>    that don't allow blocking
> The last one is strongly frowned upon but this CL aims to document existing
> behavior rather than address it. Owners are encouraged to follow-up by fixing
> unnecessary waits and more particularly unnecessary waits
> outside-blocking-scope.
> 
> Note: The non-for-testing versions require friend'ing in thread_restrictions.h
> but care was taken to add these friends ahead of git cl split (since it wasn't
> possible to do a line-by-line associated CL split).
> Refer to the top-level CL if necessary :
> https://chromium-review.googlesource.com/c/chromium/src/+/1288533
> 
> Please CQ if LGTY!
> 
> This CL was uploaded by git cl split.
> 
> R=​wittman@chromium.org
> 
> Bug: 766678
> Change-Id: I2c45612b77a49ca5720da95093b0cdd8845b6f03
> Reviewed-on: https://chromium-review.googlesource.com/c/1325191
> Reviewed-by: Mike Wittman <wittman@chromium.org>
> Commit-Queue: Mike Wittman <wittman@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#606478}

TBR=wittman@chromium.org,etiennep@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 766678
Change-Id: Iba9e69ad0923da8d6b6dcc2f89b9e323a30894d6
Reviewed-on: https://chromium-review.googlesource.com/c/1344577
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Reviewed-by: Etienne Pierre-Doray <etiennep@chromium.org>
Reviewed-by: Mike Wittman <wittman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#609892}
[modify] https://crrev.com/90927154fc2ebac2c77c0b43957bcbf55df40637/base/profiler/stack_sampling_profiler.cc

Project Member

Comment 42 by bugdroid1@chromium.org, Nov 27

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b5cc74a807c3e057cd6e83c5b1406f5ac9bcb7ba

commit b5cc74a807c3e057cd6e83c5b1406f5ac9bcb7ba
Author: Etienne Pierre-Doray <etiennep@chromium.org>
Date: Tue Nov 27 01:10:46 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /dbus

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowBaseSyncPrimitives in non-test files
 * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=satorux@chromium.org

Bug: 766678
Change-Id: I6855a1ea8732e053ad687cfc2318bf001a9a4b6f
Reviewed-on: https://chromium-review.googlesource.com/c/1325207
Reviewed-by: Gabriel Charette <gab@chromium.org>
Reviewed-by: Satoru Takabayashi <satorux@chromium.org>
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610989}
[modify] https://crrev.com/b5cc74a807c3e057cd6e83c5b1406f5ac9bcb7ba/base/threading/thread_restrictions.h
[modify] https://crrev.com/b5cc74a807c3e057cd6e83c5b1406f5ac9bcb7ba/dbus/bus.cc

Project Member

Comment 43 by bugdroid1@chromium.org, Nov 28

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9bbc291e802a7f5ab37dd27af1af0b576d08219a

commit 9bbc291e802a7f5ab37dd27af1af0b576d08219a
Author: Etienne Pierre-Doray <etiennep@chromium.org>
Date: Wed Nov 28 14:34:39 2018

Reland "[TaskScheduler]: Migrate off of ScopedAllowWait in /base/profiler/stack_sampling_profiler.cc"

This is a reland of 50b50793ee7891ab8ff9a4bab66c0c43391aa4ad

This CL changes ScopedAllowBaseSyncPrimitives to ScopedAllowBaseSyncPrimitivesOutsideBlockingScope
in StackSamplingProfiler.

Original change's description:
> [TaskScheduler]: Migrate off of ScopedAllowWait in /base/profiler/stack_sampling_profiler.cc
>
> base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
> explicit counterpart.
>
> It should have been replaced by :
>  * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
>  * base::ScopedAllowSyncPrimitives in non-test files
>  * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
>    that don't allow blocking
> The last one is strongly frowned upon but this CL aims to document existing
> behavior rather than address it. Owners are encouraged to follow-up by fixing
> unnecessary waits and more particularly unnecessary waits
> outside-blocking-scope.
>
> Note: The non-for-testing versions require friend'ing in thread_restrictions.h
> but care was taken to add these friends ahead of git cl split (since it wasn't
> possible to do a line-by-line associated CL split).
> Refer to the top-level CL if necessary :
> https://chromium-review.googlesource.com/c/chromium/src/+/1288533
>
> Please CQ if LGTY!
>
> This CL was uploaded by git cl split.
>
> R=wittman@chromium.org
>
> Bug: 766678
> Change-Id: I2c45612b77a49ca5720da95093b0cdd8845b6f03
> Reviewed-on: https://chromium-review.googlesource.com/c/1325191
> Reviewed-by: Mike Wittman <wittman@chromium.org>
> Commit-Queue: Mike Wittman <wittman@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#606478}

Bug: 766678,  907177 
Change-Id: I45b48e57040721e5ff3c2bdaac62237ed7ae429e
Reviewed-on: https://chromium-review.googlesource.com/c/1349633
Reviewed-by: Mike Wittman <wittman@chromium.org>
Reviewed-by: François Doray <fdoray@chromium.org>
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611687}
[modify] https://crrev.com/9bbc291e802a7f5ab37dd27af1af0b576d08219a/base/profiler/stack_sampling_profiler.cc
[modify] https://crrev.com/9bbc291e802a7f5ab37dd27af1af0b576d08219a/base/threading/thread_restrictions.h

Project Member

Comment 44 by bugdroid1@chromium.org, Dec 5

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cbd25abebd42b46e6922ed53b58e6fec6f0898b7

commit cbd25abebd42b46e6922ed53b58e6fec6f0898b7
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Wed Dec 05 22:16:26 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /ui/accelerated_widget_mac

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowSyncPrimitives in non-test files
 * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=ccameron@chromium.org

Bug: 766678
Change-Id: I832ffd0de8227596e35c350fdd67ec29ac0f5df6
Reviewed-on: https://chromium-review.googlesource.com/c/1325088
Commit-Queue: ccameron <ccameron@chromium.org>
Reviewed-by: ccameron <ccameron@chromium.org>
Cr-Commit-Position: refs/heads/master@{#614124}
[modify] https://crrev.com/cbd25abebd42b46e6922ed53b58e6fec6f0898b7/ui/accelerated_widget_mac/window_resize_helper_mac.cc

Project Member

Comment 45 by bugdroid1@chromium.org, Dec 6

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/030ca0ae838b897e824961a4b15e86d3ad2719ce

commit 030ca0ae838b897e824961a4b15e86d3ad2719ce
Author: Etienne Pierre-Doray <etiennep@chromium.org>
Date: Thu Dec 06 17:59:27 2018

[TaskScheduler]: Migrate off of ScopedAllowWait in /base

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowBaseSyncPrimitives in non-test files
 * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=danakj@chromium.org

Bug: 766678
Change-Id: Ibe3a0f37c044cc58d5d25eacc2bb2aba6441de3a
Reviewed-on: https://chromium-review.googlesource.com/c/1325218
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Reviewed-by: Chris Hamilton <chrisha@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#614411}
[modify] https://crrev.com/030ca0ae838b897e824961a4b15e86d3ad2719ce/base/test/thread_test_helper.cc
[modify] https://crrev.com/030ca0ae838b897e824961a4b15e86d3ad2719ce/base/threading/simple_thread.cc
[modify] https://crrev.com/030ca0ae838b897e824961a4b15e86d3ad2719ce/base/threading/thread.cc
[modify] https://crrev.com/030ca0ae838b897e824961a4b15e86d3ad2719ce/cc/raster/single_thread_task_graph_runner.cc
[modify] https://crrev.com/030ca0ae838b897e824961a4b15e86d3ad2719ce/chrome/browser/memory/memory_kills_monitor.cc

Project Member

Comment 46 by bugdroid1@chromium.org, Dec 11

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c6a3bafd39a25f7dec89f39155e312eab8fe01bd

commit c6a3bafd39a25f7dec89f39155e312eab8fe01bd
Author: Etienne Pierre-Doray <etiennep@chromium.org>
Date: Tue Dec 11 22:09:51 2018

[TaskScheudler]: Migrate off of ScopedAllowWait in /chrome

base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
explicit counterpart.

It should have been replaced by :
 * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
 * base::ScopedAllowSyncPrimitives in non-test files
 * base::ScopedAllowSyncPrimitivesOutsideBlockingScope when it's used on threads
   that don't allow blocking
The last one is strongly frowned upon but this CL aims to document existing
behavior rather than address it. Owners are encouraged to follow-up by fixing
unnecessary waits and more particularly unnecessary waits
outside-blocking-scope.

Note: The non-for-testing versions require friend'ing in thread_restrictions.h
but care was taken to add these friends ahead of git cl split (since it wasn't
possible to do a line-by-line associated CL split).
Refer to the top-level CL if necessary :
https://chromium-review.googlesource.com/c/chromium/src/+/1288533

Please CQ if LGTY!

This CL was uploaded by git cl split.

R=thakis@chromium.org

Bug: 766678
Change-Id: Ifef9e8ac9c9893f4e11e20dc8221578971904b6f
Reviewed-on: https://chromium-review.googlesource.com/c/1325194
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#615683}
[modify] https://crrev.com/c6a3bafd39a25f7dec89f39155e312eab8fe01bd/base/threading/thread_restrictions.h
[modify] https://crrev.com/c6a3bafd39a25f7dec89f39155e312eab8fe01bd/chrome/browser/browser_process_impl.cc

Project Member

Comment 47 by bugdroid1@chromium.org, Dec 28

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/da1ca9f0ff52ea76ed864921a22f7546f386110b

commit da1ca9f0ff52ea76ed864921a22f7546f386110b
Author: Etienne Pierre-doray <etiennep@chromium.org>
Date: Fri Dec 28 04:03:55 2018

Reland "[TaskScheduler]: Migrate off of ScopedAllowWait in /android_webview"

This is a reland of bcc4146d6611e4979f5bc1f71274d17a4f2e1a1e
This CL changes ScopedAllowBaseSyncPrimitives to ScopedAllowBaseSyncPrimitivesOutsideBlockingScope
in CookieManager.

Original change's description:
> [TaskScheduler]: Migrate off of ScopedAllowWait in /android_webview
>
> base::ThreadRestrictions::ScopedAllowWait is deprecated in favor of its more
> explicit counterpart.
>
> It should have been replaced by :
>  * base::ScopedAllowBaseSyncPrimitivesForTesting in test files.
>  * base::ScopedAllowBaseSyncPrimitives in non-test files
>  * base::ScopedAllowBaseSyncPrimitivesOutsideBlockingScope when it's used on threads
>    that don't allow blocking
> The last one is strongly frowned upon but this CL aims to document existing
> behavior rather than address it. Owners are encouraged to follow-up by fixing
> unnecessary waits and more particularly unnecessary waits
> outside-blocking-scope.
>
> Note: The non-for-testing versions require friend'ing in thread_restrictions.h
> but care was taken to add these friends ahead of git cl split (since it wasn't
> possible to do a line-by-line associated CL split).
> Refer to the top-level CL if necessary :
> https://chromium-review.googlesource.com/c/chromium/src/+/1288533
>
> Please CQ if LGTY!

Bug: 766678, 905025
Change-Id: I78323fb3ab809676e7cf55ea0b390a02060c52c9
Reviewed-on: https://chromium-review.googlesource.com/c/1349456
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Reviewed-by: François Doray <fdoray@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#619113}
[modify] https://crrev.com/da1ca9f0ff52ea76ed864921a22f7546f386110b/android_webview/browser/aw_form_database_service.cc
[modify] https://crrev.com/da1ca9f0ff52ea76ed864921a22f7546f386110b/android_webview/browser/cookie_manager.cc
[modify] https://crrev.com/da1ca9f0ff52ea76ed864921a22f7546f386110b/base/threading/thread_restrictions.h

Sign in to add a comment