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

Unified Diff: chrome/browser/signin/signin_ui_util.h

Issue 2393643004: [MD Settings][People] Updates positions of username and sync status message (Closed)
Patch Set: rebase Created 4 years, 2 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/signin/signin_ui_util.h
diff --git a/chrome/browser/signin/signin_ui_util.h b/chrome/browser/signin/signin_ui_util.h
index 34458dd092a732a623dae80e373c309e99b210e7..d5b1406fa7848c603da2d467b653b7733685607d 100644
--- a/chrome/browser/signin/signin_ui_util.h
+++ b/chrome/browser/signin/signin_ui_util.h
@@ -29,6 +29,10 @@ void GetStatusLabelsForAuthError(Profile* profile,
base::string16* status_label,
base::string16* link_label);
+// Returns the username of the authenticated user or an empty string if there is
+// no authenticated user.
+base::string16 GetAuthenticatedUsername(const SigninManagerBase* signin);
+
// Initializes signin-related preferences.
void InitializePrefsForProfile(Profile* profile);
« no previous file with comments | « chrome/browser/resources/settings/people_page/sync_browser_proxy.js ('k') | chrome/browser/signin/signin_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698