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

Unified Diff: chrome/browser/signin/signin_manager_base.cc

Issue 71723002: This is the second CL of several that will eventually replace TokenService with (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/signin/signin_manager_base.h ('k') | chrome/browser/signin/signin_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/signin_manager_base.cc
diff --git a/chrome/browser/signin/signin_manager_base.cc b/chrome/browser/signin/signin_manager_base.cc
index 86f112288edd5fd4e8507a4a47ecb773988aae2d..f7de912d4a6bd23829c8a4a9ad8a571f322e44b0 100644
--- a/chrome/browser/signin/signin_manager_base.cc
+++ b/chrome/browser/signin/signin_manager_base.cc
@@ -55,17 +55,6 @@ void SigninManagerBase::Initialize(Profile* profile, PrefService* local_state) {
prefs::kGoogleServicesUsername);
if (!user.empty())
SetAuthenticatedUsername(user);
-
- InitTokenService();
-}
-
-void SigninManagerBase::InitTokenService() {
- // TokenService can be null for unit tests.
- TokenService* token_service = TokenServiceFactory::GetForProfile(profile_);
- if (token_service)
- token_service->Initialize(GaiaConstants::kChromeSource, profile_);
- // Note: ChromeOS will kick off TokenService::LoadTokensFromDB from
- // OAuthLoginManager once the rest of the Profile is fully initialized.
}
bool SigninManagerBase::IsInitialized() const {
« no previous file with comments | « chrome/browser/signin/signin_manager_base.h ('k') | chrome/browser/signin/signin_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698