| 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..5ddef6a5ee0f5c331b5c485cf7ffa9e4abec7ee6 100644
|
| --- a/chrome/browser/profiles/profiles_state.h
|
| +++ b/chrome/browser/profiles/profiles_state.h
|
| @@ -16,6 +16,11 @@ namespace base { class FilePath; }
|
|
|
| namespace profiles {
|
|
|
| +// The determining factor around whether lock needs to be updated will change
|
| +// over time.
|
| +// Version 1 - non-hosted domains (gmail.com) and google.com permitted only.
|
| +const int kCurrentLockAlgorithmVersion = 1;
|
| +
|
| // Checks if multiple profiles is enabled.
|
| bool IsMultipleProfilesEnabled();
|
|
|
| @@ -59,9 +64,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 and other profile info.
|
| +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
|
|
|