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

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

Issue 8511064: GAIA Profile info prototype (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test 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.cc ('k') | chrome/browser/resources/ntp4/new_tab.css » ('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..d781f0f533b0adfd5cc9fcc3aca43aab0c1aeb5c 100644
--- a/chrome/browser/profiles/profile_info_interface.h
+++ b/chrome/browser/profiles/profile_info_interface.h
@@ -7,6 +7,7 @@
#include "base/file_path.h"
#include "base/string16.h"
+#include "third_party/skia/include/core/SkBitmap.h"
namespace gfx {
class Image;
@@ -24,11 +25,18 @@ class ProfileInfoInterface {
virtual string16 GetNameOfProfileAtIndex(size_t index) const = 0;
+ virtual string16 GetGAIANameOfProfileAtIndex(size_t index) const = 0;
+
virtual FilePath GetPathOfProfileAtIndex(size_t index) const = 0;
virtual string16 GetUserNameOfProfileAtIndex(size_t index) const = 0;
- virtual const gfx::Image& GetAvatarIconOfProfileAtIndex(
+ virtual gfx::Image GetAvatarIconOfProfileAtIndex(
+ size_t index) const = 0;
+
+ virtual SkBitmap GetGAIAPictureOfProfileAtIndex(size_t index) const = 0;
+
+ virtual bool IsUsingCustomAvatarIconForProfileAtIndex(
size_t index) const = 0;
// Returns true if the profile at the given index is currently running any
« no previous file with comments | « chrome/browser/profiles/profile_info_cache.cc ('k') | chrome/browser/resources/ntp4/new_tab.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698