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

Unified Diff: chrome/browser/profiles/profile_manager.cc

Issue 1380103004: Delay fetching account info until OnRefreshTokensLoaded(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deprecated Created 5 years, 3 months 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
Index: chrome/browser/profiles/profile_manager.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index 40f9bd789f533c911622fe454d0eac0e393d42d6..f8ea43084e0da4550e88fb299b46b098fd3ef46f 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -1109,7 +1109,10 @@ void ProfileManager::DoFinalInitForServices(Profile* profile,
MaybeActivateDataReductionProxy(true);
GaiaCookieManagerServiceFactory::GetForProfile(profile)->Init();
+ // Accounts need to be partially seeded on Android.
anthonyvd 2015/10/01 14:33:20 Can you just add a little more to this comment (fo
+#if !defined(OS_ANDROID)
AccountFetcherServiceFactory::GetForProfile(profile)->EnableNetworkFetches();
+#endif
AccountReconcilorFactory::GetForProfile(profile);
}

Powered by Google App Engine
This is Rietveld 408576698