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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

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/ui/webui/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index 9083cc4c2d823abb255f7fe87c155dab3b197827..e9b70c019430f491276f01902e439557c42592f0 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -1563,6 +1563,10 @@ BrowserOptionsHandler::GetSyncStateDictionary() {
sync_status->SetBoolean("managed", service && service->IsManaged());
sync_status->SetBoolean("signedIn", signin->IsAuthenticated());
+ sync_status->SetString("syncAccountInfo",
+ l10n_util::GetStringFUTF16(
+ IDS_SYNC_ACCOUNT_INFO,
+ sync_ui_util::GetAuthenticatedUsername(signin)));
sync_status->SetBoolean("hasUnrecoverableError",
service && service->HasUnrecoverableError());

Powered by Google App Engine
This is Rietveld 408576698