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

Unified Diff: chrome/browser/profiles/avatar_menu.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/avatar_menu.h
diff --git a/chrome/browser/profiles/avatar_menu.h b/chrome/browser/profiles/avatar_menu.h
index ee6b3d6f1b400e27720b1557613c018251ef25e9..974965ac0a7413cc41af25098dc0d219279c52b1 100644
--- a/chrome/browser/profiles/avatar_menu.h
+++ b/chrome/browser/profiles/avatar_menu.h
@@ -56,8 +56,9 @@ class AvatarMenu :
// The name of this profile.
base::string16 name;
- // A string representing the sync state of the profile.
- base::string16 sync_state;
+ // A string representing the username of the profile, if signed in. Empty
+ // when not signed in.
+ base::string16 username;
// Whether or not the current profile is signed in. If true, |sync_state| is
// expected to be the email of the signed in user.
@@ -157,7 +158,7 @@ class AvatarMenu :
const base::string16& profile_name) override;
void OnProfileNameChanged(const base::FilePath& profile_path,
const base::string16& old_profile_name) override;
- void OnProfileUserNameChanged(const base::FilePath& profile_path) override;
+ void OnProfileAuthInfoChanged(const base::FilePath& profile_path) override;
void OnProfileAvatarChanged(const base::FilePath& profile_path) override;
void OnProfileHighResAvatarLoaded(
const base::FilePath& profile_path) override;
« no previous file with comments | « chrome/browser/notifications/message_center_settings_controller.cc ('k') | chrome/browser/profiles/avatar_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698