Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Issue 2907253003: Replace deprecated base::NonThreadSafe in chrome/browser/profiles. (Closed)

Created:
3 years, 6 months ago by gab
Modified:
3 years, 6 months ago
CC:
chromium-reviews, rginda+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace deprecated base::NonThreadSafe in chrome/browser/profiles. Note to crash team: This CL is a refactor and has no intended behavior change. This change was scripted by https://crbug.com/676387#c8. Then favored DCHECK_CURRENTLY_ON(UI) per reviewer request. And ultimately used ThreadChecker per https://codereview.chromium.org/2907253003/#msg37. BUG=676387 This CL was uploaded by git cl split. R=bauerb@chromium.org TBR=sorin, pauljensen Review-Url: https://codereview.chromium.org/2907253003 Cr-Commit-Position: refs/heads/master@{#476684} Committed: https://chromium.googlesource.com/chromium/src/+/99ff1d83a3574b1b689ad35d7a14688eee88f97a

Patch Set 1 #

Total comments: 2

Patch Set 2 : DCHECK_CURRENTLY_ON(UI) #

Patch Set 3 : TestBrowserThreadBundle as first member in fixtures using TestingProfileManager #

Patch Set 4 : more TestBrowserThreadBundle re-ordering #

Patch Set 5 : back to ThreadChecker #

Patch Set 6 : Android crashes?? Revert improvement to chrome_network_delegate_unittest.cc... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M chrome/browser/component_updater/supervised_user_whitelist_installer_unittest.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/history/android/android_history_provider_service_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/android/sqlite_cursor_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_attributes_storage_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_manager.h View 1 2 3 4 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 61 (40 generated)
gab
Hi, this is an automated change made by https://crbug.com/676387#c8 and sharded across directories for OWNERS. ...
3 years, 6 months ago (2017-05-30 02:46:37 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/2907253003/diff/1/chrome/browser/profiles/profile_manager.h File chrome/browser/profiles/profile_manager.h (right): https://codereview.chromium.org/2907253003/diff/1/chrome/browser/profiles/profile_manager.h#newcode429 chrome/browser/profiles/profile_manager.h:429: SEQUENCE_CHECKER(sequence_checker_); I would get rid of this completely in ...
3 years, 6 months ago (2017-05-31 13:19:52 UTC) #6
gab
https://codereview.chromium.org/2907253003/diff/1/chrome/browser/profiles/profile_manager.h File chrome/browser/profiles/profile_manager.h (right): https://codereview.chromium.org/2907253003/diff/1/chrome/browser/profiles/profile_manager.h#newcode429 chrome/browser/profiles/profile_manager.h:429: SEQUENCE_CHECKER(sequence_checker_); On 2017/05/31 13:19:52, Bernhard Bauer wrote: > I ...
3 years, 6 months ago (2017-05-31 16:47:24 UTC) #9
Bernhard Bauer
LGTM, thanks!
3 years, 6 months ago (2017-05-31 16:54:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2907253003/20001
3 years, 6 months ago (2017-05-31 17:30:10 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/466917)
3 years, 6 months ago (2017-05-31 18:35:44 UTC) #16
gab
TBR sorin for component_updater/ side-effects TBR pauljensen for net/ side-effects TestBrowserThreadBundle should generally be the ...
3 years, 6 months ago (2017-05-31 18:57:30 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2907253003/40001
3 years, 6 months ago (2017-05-31 18:58:12 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/190625)
3 years, 6 months ago (2017-05-31 23:01:37 UTC) #27
Sorin Jianu
lgtm component updater lgtm
3 years, 6 months ago (2017-06-01 00:22:02 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2907253003/60001
3 years, 6 months ago (2017-06-01 14:12:22 UTC) #32
gab
On 2017/05/31 18:57:30, gab wrote: > TBR sorin for component_updater/ side-effects > TBR pauljensen for ...
3 years, 6 months ago (2017-06-01 14:13:10 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/191160) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 6 months ago (2017-06-01 15:01:52 UTC) #36
gab
I'm going to just use ThreadChecker which will provide the same properties NonThreadSafe previously did ...
3 years, 6 months ago (2017-06-01 20:53:31 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2907253003/80001
3 years, 6 months ago (2017-06-01 21:03:37 UTC) #46
gab
On 2017/06/01 20:53:31, gab wrote: > I'm going to just use ThreadChecker which will provide ...
3 years, 6 months ago (2017-06-01 21:04:20 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/191698)
3 years, 6 months ago (2017-06-01 23:49:34 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2907253003/100001
3 years, 6 months ago (2017-06-02 15:31:12 UTC) #55
gab
On 2017/06/01 14:13:10, gab wrote: > On 2017/05/31 18:57:30, gab wrote: > > TBR sorin ...
3 years, 6 months ago (2017-06-02 15:31:26 UTC) #56
sdefresne
lgtm
3 years, 6 months ago (2017-06-02 15:34:08 UTC) #57
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 16:29:28 UTC) #61
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/99ff1d83a3574b1b689ad35d7a14...

Powered by Google App Engine
This is Rietveld 408576698