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

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

Issue 476993002: [Profiles] Fix the usage of custom/default names and avatars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 0a353769e172c2019816b159792cacbae19f8d1e..3aa816ebf3c568fe0a334b0158f0fa3b18e5e01b 100644
--- a/chrome/browser/profiles/profile_info_cache.h
+++ b/chrome/browser/profiles/profile_info_cache.h
@@ -121,6 +121,9 @@ class ProfileInfoCache : public ProfileInfoInterface,
void SetProfileIsUsingDefaultNameAtIndex(size_t index, bool value);
void SetProfileIsUsingDefaultAvatarAtIndex(size_t index, bool value);
+ // Whether |name| is one of the default assigned names.
Roger Tawa OOO till Jul 10th 2014/08/15 14:46:40 Determines whether |name| ...
noms (inactive) 2014/08/15 16:22:47 Done.
+ bool IsDefaultProfileName(const base::string16& name);
+
// Returns unique name that can be assigned to a newly created profile.
base::string16 ChooseNameForNewProfile(size_t icon_index) const;

Powered by Google App Engine
This is Rietveld 408576698