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

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

Issue 8587023: Add GAIA info to profile info cache (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix leak Created 9 years, 1 month 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/common/chrome_notification_types.h » ('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 6a08f9a29d6890b4b1991b6ddb2efbcb212ba9dd..a7318dea8a558b00a282511805e43347819eb07b 100644
--- a/chrome/browser/profiles/profile_info_interface.h
+++ b/chrome/browser/profiles/profile_info_interface.h
@@ -36,6 +36,17 @@ class ProfileInfoInterface {
virtual bool GetBackgroundStatusOfProfileAtIndex(
size_t index) const = 0;
+ virtual string16 GetGAIANameOfProfileAtIndex(size_t index) const = 0;
+
+ // Checks if the GAIA name should be used as the profile's name.
+ virtual bool IsUsingGAIANameOfProfileAtIndex(size_t index) const = 0;
+
+ virtual const gfx::Image& GetGAIAPictureOfProfileAtIndex(
+ size_t index) const = 0;
+
+ // Checks if the GAIA picture should be used as the profile's avatar icon.
+ virtual bool IsUsingGAIAPictureOfProfileAtIndex(size_t index) const = 0;
+
protected:
virtual ~ProfileInfoInterface() {}
};
« no previous file with comments | « chrome/browser/profiles/profile_info_cache_unittest.cc ('k') | chrome/common/chrome_notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698