| Index: chrome/browser/ui/webui/help/help_handler.cc
|
| diff --git a/chrome/browser/ui/webui/help/help_handler.cc b/chrome/browser/ui/webui/help/help_handler.cc
|
| index dd0997705df917e6bf4f6f2f7c005a9ebc58a161..cf6b5ca6a7e22b5f5f7e13735d987c5196251314 100644
|
| --- a/chrome/browser/ui/webui/help/help_handler.cc
|
| +++ b/chrome/browser/ui/webui/help/help_handler.cc
|
| @@ -497,7 +497,7 @@ void HelpHandler::OnPageLoaded(const base::ListValue* args) {
|
|
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "help.HelpPage.updateEnableReleaseChannel",
|
| - base::FundamentalValue(CanChangeChannel(Profile::FromWebUI(web_ui()))));
|
| + base::Value(CanChangeChannel(Profile::FromWebUI(web_ui()))));
|
|
|
| base::Time build_time = base::SysInfo::GetLsbReleaseTime();
|
| base::string16 build_date = base::TimeFormatFriendlyDate(build_time);
|
| @@ -509,16 +509,16 @@ void HelpHandler::OnPageLoaded(const base::ListValue* args) {
|
|
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "help.HelpPage.setObsoleteSystem",
|
| - base::FundamentalValue(ObsoleteSystem::IsObsoleteNowOrSoon()));
|
| + base::Value(ObsoleteSystem::IsObsoleteNowOrSoon()));
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "help.HelpPage.setObsoleteSystemEndOfTheLine",
|
| - base::FundamentalValue(ObsoleteSystem::IsObsoleteNowOrSoon() &&
|
| + base::Value(ObsoleteSystem::IsObsoleteNowOrSoon() &&
|
| ObsoleteSystem::IsEndOfTheLine()));
|
|
|
| #if defined(OS_CHROMEOS)
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "help.HelpPage.updateIsEnterpriseManaged",
|
| - base::FundamentalValue(IsEnterpriseManaged()));
|
| + base::Value(IsEnterpriseManaged()));
|
| // First argument to GetChannel() is a flag that indicates whether
|
| // current channel should be returned (if true) or target channel
|
| // (otherwise).
|
| @@ -661,7 +661,7 @@ void HelpHandler::SetUpdateStatus(VersionUpdater::Status status,
|
|
|
| if (status == VersionUpdater::UPDATING) {
|
| web_ui()->CallJavascriptFunctionUnsafe("help.HelpPage.setProgress",
|
| - base::FundamentalValue(progress));
|
| + base::Value(progress));
|
| }
|
|
|
| #if defined(OS_CHROMEOS)
|
| @@ -675,12 +675,12 @@ void HelpHandler::SetUpdateStatus(VersionUpdater::Status status,
|
| } else {
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "help.HelpPage.showAllowedConnectionTypesMsg",
|
| - base::FundamentalValue(false));
|
| + base::Value(false));
|
| }
|
| } else {
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "help.HelpPage.showAllowedConnectionTypesMsg",
|
| - base::FundamentalValue(false));
|
| + base::Value(false));
|
| }
|
| #endif // defined(OS_CHROMEOS)
|
| }
|
|
|