Index: chrome/browser/ui/webui/signin/user_manager_screen_handler.cc |
diff --git a/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc b/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc |
index 3fc1e82f4e9ae1b60b5cd7acb28bee5ce0b96a10..111bf39320f509295a64e5fb8478219d7173c869 100644 |
--- a/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc |
+++ b/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc |
@@ -71,6 +71,7 @@ const char kKeyIsDesktop[] = "isDesktopUser"; |
const char kKeyAvatarUrl[] = "userImage"; |
const char kKeyNeedsSignin[] = "needsSignin"; |
const char kKeyHasLocalCreds[] = "hasLocalCreds"; |
+const char kKeyStatistics[] = "statistics"; |
const char kKeyIsProfileLoaded[] = "isProfileLoaded"; |
// JS API callback names. |
@@ -876,6 +877,8 @@ void UserManagerScreenHandler::SendUserList() { |
profile_value->SetBoolean(kKeyIsDesktop, true); |
profile_value->SetString( |
kKeyAvatarUrl, GetAvatarImageAtIndex(i, info_cache)); |
+ profile_value->Set(kKeyStatistics, info_cache-> |
+ GetAllStatisticsOfProfileAtIndexAsDictionaryValue(i)); |
// GetProfileByPath returns a pointer if the profile is fully loaded, NULL |
// otherwise. |