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

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

Issue 1117453002: Add gaia_id to ProfileInfoCache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments Created 5 years, 7 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
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 a314cc9286bb327939182ebd86fe786f2fe0e4db..aa8d11edf9e7f9d320f6d7112a04fd10586d3022 100644
--- a/chrome/browser/profiles/profile_info_interface.h
+++ b/chrome/browser/profiles/profile_info_interface.h
@@ -52,6 +52,8 @@ class ProfileInfoInterface {
virtual base::string16 GetGAIAGivenNameOfProfileAtIndex(
size_t index) const = 0;
+ virtual std::string GetGAIAIdOfProfileAtIndex(size_t index) const = 0;
+
virtual const gfx::Image* GetGAIAPictureOfProfileAtIndex(
size_t index) const = 0;
@@ -87,6 +89,9 @@ class ProfileInfoInterface {
// Returns true if the user has never manually selected a profile avatar.
virtual bool ProfileIsUsingDefaultAvatarAtIndex(size_t index) const = 0;
+ // Returns true if the given profile is connected to an account.
+ virtual bool ProfileIsAuthenticatedAtIndex(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/profile_list_desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698