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

Issue 2805833002: Migrate Cryptauth*Managers RegisterPrefs to CryptAuthService::RegisterProfilePrefs. (Closed)

Created:
3 years, 8 months ago by Ryan Hansberry
Modified:
3 years, 8 months ago
CC:
chromium-reviews, jlklein+watch-tether_chromium.org, tengs+watch-tether_chromium.org, hansberry+watch-tether_chromium.org, jhawkins+watch-tether_chromium.org, oshima+watch_chromium.org, khorimoto+watch-tether_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Migrate Cryptauth*Managers RegisterPrefs to CryptAuthService::RegisterProfilePrefs. BUG=672263 Review-Url: https://codereview.chromium.org/2805833002 Cr-Commit-Position: refs/heads/master@{#464159} Committed: https://chromium.googlesource.com/chromium/src/+/25db618aea911fe86805019fc2727f025786f310

Patch Set 1 #

Total comments: 5

Patch Set 2 : Move import. #

Patch Set 3 : Move EasyUnlockService to ChromeOS only. #

Patch Set 4 : Revert back to hiding EasyUnlock behind ENABLE_EXTENSIONS instead of OS_CHROMEOS. #

Patch Set 5 : Rebase on master. #

Patch Set 6 : Fix typo. #

Patch Set 7 : Replace initializer_unittest RegisterPrefs calls with Initializer::RegisterProfilePrefs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -6 lines) Patch
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 4 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/signin/easy_unlock_service.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chromeos/components/tether/initializer.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chromeos/components/tether/initializer.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chromeos/components/tether/initializer_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M components/cryptauth/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/cryptauth/cryptauth_service.h View 2 chunks +3 lines, -0 lines 0 comments Download
A components/cryptauth/cryptauth_service.cc View 1 2 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (17 generated)
Ryan Hansberry
This change is necessary because Tether and EasyUnlock both need Cryptauth{Device|Enrollment|Gcm}Manager::RegisterPrefs to be called, but ...
3 years, 8 months ago (2017-04-07 04:02:25 UTC) #3
Kyle Horimoto
lgtm https://codereview.chromium.org/2805833002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/2805833002/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode76 chrome/browser/prefs/browser_prefs.cc:76: #include "components/cryptauth/cryptauth_service.h" Wrap with #if BUILDFLAG(ENABLE_EXTENSIONS) || defined(OS_CHROMEOS)
3 years, 8 months ago (2017-04-07 16:58:52 UTC) #4
Tim Song
https://codereview.chromium.org/2805833002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/2805833002/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode76 chrome/browser/prefs/browser_prefs.cc:76: #include "components/cryptauth/cryptauth_service.h" On 2017/04/07 16:58:52, Kyle Horimoto wrote: > ...
3 years, 8 months ago (2017-04-07 17:56:30 UTC) #5
Ryan Hansberry
https://codereview.chromium.org/2805833002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/2805833002/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode76 chrome/browser/prefs/browser_prefs.cc:76: #include "components/cryptauth/cryptauth_service.h" On 2017/04/07 17:56:30, Tim Song wrote: > ...
3 years, 8 months ago (2017-04-07 18:18:10 UTC) #6
Ryan Hansberry
Adding battre@ for browser_prefs.cc.
3 years, 8 months ago (2017-04-07 18:19:03 UTC) #8
Tim Song
https://codereview.chromium.org/2805833002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/2805833002/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode76 chrome/browser/prefs/browser_prefs.cc:76: #include "components/cryptauth/cryptauth_service.h" On 2017/04/07 18:18:10, Ryan Hansberry wrote: > ...
3 years, 8 months ago (2017-04-07 20:04:45 UTC) #9
Ryan Hansberry
https://codereview.chromium.org/2805833002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/2805833002/diff/1/chrome/browser/prefs/browser_prefs.cc#newcode76 chrome/browser/prefs/browser_prefs.cc:76: #include "components/cryptauth/cryptauth_service.h" On 2017/04/07 20:04:45, Tim Song wrote: > ...
3 years, 8 months ago (2017-04-07 21:00:06 UTC) #10
Tim Song
lgtm
3 years, 8 months ago (2017-04-07 22:09:26 UTC) #11
Ryan Hansberry
Changing browser_prefs.cc reviewer to pam@ for time zone reasons.
3 years, 8 months ago (2017-04-07 22:14:10 UTC) #13
Ryan Hansberry
Changing reviewer for browser_prefs.cc back to battre@.
3 years, 8 months ago (2017-04-07 22:48:46 UTC) #15
battre
LGTM Note: If all the components were keyed services, you could use KeyedServiceBaseFactory::RegisterPrefs to register ...
3 years, 8 months ago (2017-04-09 14:37:18 UTC) #16
Ryan Hansberry
On 2017/04/09 14:37:18, battre wrote: > LGTM > > Note: If all the components were ...
3 years, 8 months ago (2017-04-10 21:28:04 UTC) #17
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/2805833002/40001
3 years, 8 months ago (2017-04-10 21:29:15 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/419016)
3 years, 8 months ago (2017-04-10 23:16:01 UTC) #22
Ryan Hansberry
Hey tengs@, this change fails a few tests, presumably because we moved EasyUnlock from under ...
3 years, 8 months ago (2017-04-11 01:34:38 UTC) #23
Ryan Hansberry
On 2017/04/11 01:34:38, Ryan Hansberry wrote: > Hey tengs@, this change fails a few tests, ...
3 years, 8 months ago (2017-04-11 21:48:57 UTC) #24
Ryan Hansberry
battre@ do you mind lg'ing for browser_prefs.cc again?
3 years, 8 months ago (2017-04-11 21:50:19 UTC) #25
battre
On 2017/04/11 21:50:19, Ryan Hansberry wrote: > battre@ do you mind lg'ing for browser_prefs.cc again? ...
3 years, 8 months ago (2017-04-12 10:46:05 UTC) #26
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/2805833002/80001
3 years, 8 months ago (2017-04-12 16:13:18 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/275046)
3 years, 8 months ago (2017-04-12 16:31:57 UTC) #31
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/2805833002/100001
3 years, 8 months ago (2017-04-12 18:28:01 UTC) #34
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/2805833002/120001
3 years, 8 months ago (2017-04-12 18:34:02 UTC) #37
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 21:46:41 UTC) #40
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/25db618aea911fe86805019fc272...

Powered by Google App Engine
This is Rietveld 408576698