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

Unified Diff: chrome/browser/sync/sync_ui_util.h

Issue 2393643004: [MD Settings][People] Updates positions of username and sync status message (Closed)
Patch Set: 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/sync/sync_ui_util.h
diff --git a/chrome/browser/sync/sync_ui_util.h b/chrome/browser/sync/sync_ui_util.h
index 98ab453f530148bc78d46db7dd3fd229614fc07a..e5e00a4ffba7f4f6582c04863528377f03307b38 100644
--- a/chrome/browser/sync/sync_ui_util.h
+++ b/chrome/browser/sync/sync_ui_util.h
@@ -56,6 +56,10 @@ MessageType GetStatusLabels(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);
maxbogue 2016/10/05 15:56:23 This function no longer has anything to do with sy
Moe 2016/10/05 18:52:45 Done.
+
// Same as above but for use specifically on the New Tab Page.
// |status_label| may contain an HTML-formatted link.
MessageType GetStatusLabelsForNewTabPage(

Powered by Google App Engine
This is Rietveld 408576698