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

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

Issue 196473015: [Profiles] Don't treat GAIA names differently than regular profile names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove useless comment Created 6 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
Index: chrome/browser/profiles/profile_info_cache.h
diff --git a/chrome/browser/profiles/profile_info_cache.h b/chrome/browser/profiles/profile_info_cache.h
index 42a0222eaa855a42e443dd0ef6936e7ff8cd1eb9..28251f08605adeb5c0f303e33f396c85cbcf00e9 100644
--- a/chrome/browser/profiles/profile_info_cache.h
+++ b/chrome/browser/profiles/profile_info_cache.h
@@ -77,7 +77,6 @@ class ProfileInfoCache : public ProfileInfoInterface,
size_t index) const OVERRIDE;
virtual base::string16 GetGAIAGivenNameOfProfileAtIndex(
size_t index) const OVERRIDE;
- virtual bool IsUsingGAIANameOfProfileAtIndex(size_t index) const OVERRIDE;
// Returns the GAIA picture for the given profile. This may return NULL
// if the profile does not have a GAIA picture or if the picture must be
// loaded from disk.
@@ -111,7 +110,6 @@ class ProfileInfoCache : public ProfileInfoInterface,
void SetGAIANameOfProfileAtIndex(size_t index, const base::string16& name);
void SetGAIAGivenNameOfProfileAtIndex(size_t index,
const base::string16& name);
- void SetIsUsingGAIANameOfProfileAtIndex(size_t index, bool value);
void SetGAIAPictureOfProfileAtIndex(size_t index, const gfx::Image* image);
void SetIsUsingGAIAPictureOfProfileAtIndex(size_t index, bool value);
void SetProfileSigninRequiredAtIndex(size_t index, bool value);
@@ -121,16 +119,6 @@ class ProfileInfoCache : public ProfileInfoInterface,
// Returns unique name that can be assigned to a newly created profile.
base::string16 ChooseNameForNewProfile(size_t icon_index) const;
- // Checks if the given profile has switched to using GAIA information
- // for the profile name and picture. This pref is used to switch over
- // to GAIA info the first time it is available. Afterwards this pref is
- // checked to prevent clobbering the user's custom settings.
- bool GetHasMigratedToGAIAInfoOfProfileAtIndex(size_t index) const;
-
- // Marks the given profile as having switched to using GAIA information
- // for the profile name and picture.
- void SetHasMigratedToGAIAInfoOfProfileAtIndex(size_t index, bool value);
-
// Returns an avatar icon index that can be assigned to a newly created
// profile. Note that the icon may not be unique since there are a limited
// set of default icons.

Powered by Google App Engine
This is Rietveld 408576698