|
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
|
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
|
Total messages: 28 (0 generated)
|