Chromium Code Reviews| 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 |