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

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

Issue 186803003: Use custom profile names (if available) for signed in profiles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
« no previous file with comments | « chrome/browser/profiles/profile_info_cache_unittest.cc ('k') | chrome/browser/profiles/profiles_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_info_interface.h
diff --git a/chrome/browser/profiles/profile_info_interface.h b/chrome/browser/profiles/profile_info_interface.h
index f762fc9a3c889afa8c168ee95d2db0c32bc32e38..d369f6a971d91e80bd6c9359e0b618dabfba0d2b 100644
--- a/chrome/browser/profiles/profile_info_interface.h
+++ b/chrome/browser/profiles/profile_info_interface.h
@@ -76,6 +76,11 @@ class ProfileInfoInterface {
// Profile is known to be ephemeral and should be deleted when closed.
virtual bool ProfileIsEphemeralAtIndex(size_t index) const = 0;
+ // Returns true if the profile is using the name it was assigned by default
+ // at creation (either the old-style "Lemonade" name, or the new "Profile %d"
+ // style name).
+ virtual bool ProfileIsUsingDefaultNameAtIndex(size_t index) const = 0;
+
protected:
virtual ~ProfileInfoInterface() {}
};
« no previous file with comments | « chrome/browser/profiles/profile_info_cache_unittest.cc ('k') | chrome/browser/profiles/profiles_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698