| 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 df89a2a01a55f55bdd57e6633abd6d0373fff0de..c7256dbe1f248db1bc9c08624c799f7669ae58f9 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| @@ -52,6 +52,7 @@
|
| #include "chrome/browser/search_engines/template_url_service_factory.h"
|
| #include "chrome/browser/signin/easy_unlock_service.h"
|
| #include "chrome/browser/signin/signin_manager_factory.h"
|
| +#include "chrome/browser/signin/signin_ui_util.h"
|
| #include "chrome/browser/sync/profile_sync_service_factory.h"
|
| #include "chrome/browser/sync/sync_ui_util.h"
|
| #include "chrome/browser/themes/theme_service.h"
|
| @@ -1560,6 +1561,10 @@ BrowserOptionsHandler::GetSyncStateDictionary() {
|
|
|
| sync_status->SetBoolean("managed", service && service->IsManaged());
|
| sync_status->SetBoolean("signedIn", signin->IsAuthenticated());
|
| + sync_status->SetString("accountInfo",
|
| + l10n_util::GetStringFUTF16(
|
| + IDS_SYNC_ACCOUNT_INFO,
|
| + signin_ui_util::GetAuthenticatedUsername(signin)));
|
| sync_status->SetBoolean("hasUnrecoverableError",
|
| service && service->HasUnrecoverableError());
|
|
|
|
|