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

Unified Diff: chrome/browser/ui/webui/settings/people_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/settings/people_handler.cc
diff --git a/chrome/browser/ui/webui/settings/people_handler.cc b/chrome/browser/ui/webui/settings/people_handler.cc
index 09443d5c26219767d6b587c8314458cc7740732d..e35bc2dce0bd19d1cabd6ae0a887153018f7454a 100644
--- a/chrome/browser/ui/webui/settings/people_handler.cc
+++ b/chrome/browser/ui/webui/settings/people_handler.cc
@@ -740,6 +740,8 @@ PeopleHandler::GetSyncStatusDictionary() {
sync_status->SetBoolean("managed", service && service->IsManaged());
sync_status->SetBoolean("signedIn", signin->IsAuthenticated());
+ sync_status->SetString("username",
+ sync_ui_util::GetAuthenticatedUsername(signin));
sync_status->SetBoolean("hasUnrecoverableError",
service && service->HasUnrecoverableError());

Powered by Google App Engine
This is Rietveld 408576698