| Index: chrome/browser/ui/webui/settings/profile_info_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/profile_info_handler.cc b/chrome/browser/ui/webui/settings/profile_info_handler.cc
|
| index 175dac328154784dc86f1f3bd3ad485d3d14665c..d6510f5da1955622f2389272da5bc644d2dd9b3f 100644
|
| --- a/chrome/browser/ui/webui/settings/profile_info_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/profile_info_handler.cc
|
| @@ -152,7 +152,7 @@ void ProfileInfoHandler::PushProfileStatsCount(
|
| // available. Therefore, webUIListenerCallback mechanism is used instead of
|
| // the Promise callback approach.
|
| CallJavascriptFunction("cr.webUIListenerCallback",
|
| - base::StringValue(kProfileStatsCountReadyEventName),
|
| + base::Value(kProfileStatsCountReadyEventName),
|
| base::Value(count));
|
| }
|
| #endif
|
| @@ -171,14 +171,14 @@ void ProfileInfoHandler::HandleGetProfileManagesSupervisedUsers(
|
|
|
| void ProfileInfoHandler::PushProfileInfo() {
|
| CallJavascriptFunction("cr.webUIListenerCallback",
|
| - base::StringValue(kProfileInfoChangedEventName),
|
| + base::Value(kProfileInfoChangedEventName),
|
| *GetAccountNameAndIcon());
|
| }
|
|
|
| void ProfileInfoHandler::PushProfileManagesSupervisedUsersStatus() {
|
| CallJavascriptFunction(
|
| "cr.webUIListenerCallback",
|
| - base::StringValue(kProfileManagesSupervisedUsersChangedEventName),
|
| + base::Value(kProfileManagesSupervisedUsersChangedEventName),
|
| base::Value(IsProfileManagingSupervisedUsers()));
|
| }
|
|
|
|
|