summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile_info_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profiles/profile_info_cache.h')
-rw-r--r--chrome/browser/profiles/profile_info_cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/profiles/profile_info_cache.h b/chrome/browser/profiles/profile_info_cache.h
index 0a35376..f8c4390 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);
+ // Determines whether |name| is one of the default assigned names.
+ 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;