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 3c1d430e920f766e248a6f3e5b4509c3ef54433d..8fbc794441c4f609a6120f1ec643bb640cfee39f 100644 |
--- a/chrome/browser/profiles/profile_info_cache.h |
+++ b/chrome/browser/profiles/profile_info_cache.h |
@@ -95,6 +95,7 @@ class ProfileInfoCache : public ProfileInfoInterface, |
size_t GetAvatarIconIndexOfProfileAtIndex(size_t index) const; |
void SetProfileActiveTimeAtIndex(size_t index); |
+ // Warning: This will re-sort profiles and thus may change indices! |
void SetNameOfProfileAtIndex(size_t index, const base::string16& name); |
void SetShortcutNameOfProfileAtIndex(size_t index, |
const base::string16& name); |
@@ -107,7 +108,9 @@ class ProfileInfoCache : public ProfileInfoInterface, |
const std::string& auth); |
void SetBackgroundStatusOfProfileAtIndex(size_t index, |
bool running_background_apps); |
+ // Warning: This will re-sort profiles and thus may change indices! |
void SetGAIANameOfProfileAtIndex(size_t index, const base::string16& name); |
+ // Warning: This will re-sort profiles and thus may change indices! |
void SetGAIAGivenNameOfProfileAtIndex(size_t index, |
const base::string16& name); |
void SetGAIAPictureOfProfileAtIndex(size_t index, const gfx::Image* image); |