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

Issue 216493003: Abstract most Profile knowledge from SigninManager. (Closed)

Created:
6 years, 9 months ago by blundell
Modified:
6 years, 8 months ago
Reviewers:
droger, Nico
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, maniscalco+watch_chromium.org, droger
Visibility:
Public.

Description

Abstract most Profile knowledge from SigninManager. This CL eliminates almost all usage of Profile in SigninManager: - It now gets the PrefService from the SigninClient. - It now gets the URLRequestContext from the SigninClient. - It has the ProfileOAuth2TokenService passed in explicitly. - The static method DisableOneClickSignIn() now takes in a PrefService instead of a Profile. The only remaining usage is sending the Profile as a notification source, which will go away shortly when those notifications are removed. BUG=334209 TBR=thakis Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260456

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix after rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -49 lines) Patch
M chrome/browser/policy/cloud/user_policy_signin_service_base.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/signin/fake_signin_manager.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/signin/signin_manager.h View 1 5 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/signin/signin_manager.cc View 1 2 11 chunks +23 lines, -31 lines 0 comments Download
M chrome/browser/signin/signin_manager_factory.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/signin/signin_manager_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M components/signin/core/common/signin_pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/signin/core/common/signin_pref_names.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
blundell
droger: For review. rogerta: FYI.
6 years, 9 months ago (2014-03-28 12:00:31 UTC) #1
droger
lgtm
6 years, 9 months ago (2014-03-28 12:16:19 UTC) #2
blundell
TBR=thakis for //chrome/common
6 years, 9 months ago (2014-03-28 14:00:11 UTC) #3
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 9 months ago (2014-03-28 17:06:11 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/216493003/1
6 years, 9 months ago (2014-03-28 17:07:33 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 17:07:59 UTC) #6
commit-bot: I haz the power
Failed to apply patch for chrome/browser/signin/signin_manager.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-28 17:07:59 UTC) #7
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 9 months ago (2014-03-28 18:02:34 UTC) #8
blundell
The CQ bit was unchecked by blundell@chromium.org
6 years, 9 months ago (2014-03-28 18:04:53 UTC) #9
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 9 months ago (2014-03-28 18:06:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/216493003/40001
6 years, 9 months ago (2014-03-28 18:10:06 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 19:53:12 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 9 months ago (2014-03-28 19:53:12 UTC) #13
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 9 months ago (2014-03-28 20:22:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/216493003/40001
6 years, 9 months ago (2014-03-28 20:25:20 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 21:38:14 UTC) #16
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 9 months ago (2014-03-28 21:38:15 UTC) #17
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 8 months ago (2014-03-29 07:25:07 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/216493003/40001
6 years, 8 months ago (2014-03-29 07:25:58 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-29 08:59:53 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-03-29 08:59:54 UTC) #21
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 8 months ago (2014-03-29 18:37:48 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/216493003/40001
6 years, 8 months ago (2014-03-29 18:37:58 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-29 20:04:36 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-03-29 20:04:36 UTC) #25
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 8 months ago (2014-03-30 16:53:32 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/216493003/40001
6 years, 8 months ago (2014-03-30 16:53:49 UTC) #27
commit-bot: I haz the power
6 years, 8 months ago (2014-03-30 18:21:56 UTC) #28
Message was sent while issue was closed.
Change committed as 260456

Powered by Google App Engine
This is Rietveld 408576698