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

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

Issue 566933005: Do not display lock for hosted domains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/profiles_state.h
diff --git a/chrome/browser/profiles/profiles_state.h b/chrome/browser/profiles/profiles_state.h
index 39aae3dafd1cf9fe98f3d939c46391df649b5e08..fcaf4942e4ca7151d39ceae0ea9464d95fdb1737 100644
--- a/chrome/browser/profiles/profiles_state.h
+++ b/chrome/browser/profiles/profiles_state.h
@@ -16,6 +16,10 @@ namespace base { class FilePath; }
namespace profiles {
+// The determining factor around whether lock needs to be updated will change
+// over time.
+const int kCurrentLockAlgorithmVersion = 1;
+
// Checks if multiple profiles is enabled.
bool IsMultipleProfilesEnabled();
@@ -59,9 +63,13 @@ std::vector<std::string> GetSecondaryAccountsForProfile(
// incognito profiles.
bool IsRegularOrGuestSession(Browser* browser);
+// If the lock-enabled information for this profile is not up to date, starts
+// an update for the Gaia profile info.
+void UpdateIsProfileLockEnabledIfNeeded(Profile* profile);
+
// If the --google-profile-info flag is turned on, starts an update for a new
-// version of the Gaia profile picture.
-void UpdateGaiaProfilePhotoIfNeeded(Profile* profile);
+// version of the Gaia profile picture amd other profile info.
noms (inactive) 2014/09/12 19:33:25 s/amd/and :)
Mike Lerman 2014/09/15 14:08:56 What if I just really don't like NVidia?
+void UpdateGaiaProfileInfoIfNeeded(Profile* profile);
// Returns the sign-in error controller for the given profile. Some profiles,
// like guest profiles, may not have a controller so this function may return

Powered by Google App Engine
This is Rietveld 408576698