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

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

Issue 2758583002: Remove google-profile-info switch. (Closed)
Patch Set: Revert histograms.xml Created 3 years, 9 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
« no previous file with comments | « chrome/browser/profiles/profiles_state.h ('k') | chrome/browser/supervised_user/supervised_user_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profiles_state.cc
diff --git a/chrome/browser/profiles/profiles_state.cc b/chrome/browser/profiles/profiles_state.cc
index 005c922adf028df6b252cb0a7e880f8e8b5a3d5d..428f2cf0c15cd9f0725e59bd8809913f8fc6f2fc 100644
--- a/chrome/browser/profiles/profiles_state.cc
+++ b/chrome/browser/profiles/profiles_state.cc
@@ -189,12 +189,6 @@ void UpdateIsProfileLockEnabledIfNeeded(Profile* profile) {
}
void UpdateGaiaProfileInfoIfNeeded(Profile* profile) {
- // If the --google-profile-info flag isn't used, then the
- // GAIAInfoUpdateService isn't initialized, and we can't download the profile
- // info.
- if (!switches::IsGoogleProfileInfo())
- return;
-
DCHECK(profile);
GAIAInfoUpdateService* service =
« no previous file with comments | « chrome/browser/profiles/profiles_state.h ('k') | chrome/browser/supervised_user/supervised_user_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698