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

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

Issue 7256002: Multi-Profiles: New Profile Setup UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 9 years, 6 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/browser_resources.grd ('k') | chrome/browser/profiles/profile_info_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e6ca12a280e3c8b59c466c28815189c478e11306..c0455e7c7b79afd2f198c44a9ec56ffb6dd1439a 100644
--- a/chrome/browser/profiles/profile_info_cache.h
+++ b/chrome/browser/profiles/profile_info_cache.h
@@ -35,9 +35,11 @@ class ProfileInfoCache {
void DeleteProfileFromCache(const FilePath& profile_path);
size_t GetNumberOfProfiles() const;
+ size_t GetIndexOfProfileWithPath(const FilePath& profile_path) const;
string16 GetNameOfProfileAtIndex(size_t index) const;
FilePath GetPathOfProfileAtIndex(size_t index) const;
const gfx::Image& GetAvatarIconOfProfileAtIndex(size_t index) const;
+ size_t GetAvatarIconIndexOfProfileAtIndex(size_t index) const;
void SetNameOfProfileAtIndex(size_t index, const string16& name);
void SetAvatarIconOfProfileAtIndex(size_t index, size_t icon_index);
@@ -46,6 +48,8 @@ class ProfileInfoCache {
static size_t GetDefaultAvatarIconCount();
// Gets the resource ID of the default avatar icon at |index|.
static int GetDefaultAvatarIconResourceIDAtIndex(size_t index);
+ // Returns a URL for the default avatar icon with specified index.
+ static std::string GetDefaultAvatarIconUrl(size_t index);
// Register cache related preferences in Local State.
static void RegisterPrefs(PrefService* prefs);
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/profiles/profile_info_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698