| Index: chrome/browser/ui/webui/options/clear_browser_data_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/clear_browser_data_handler.cc b/chrome/browser/ui/webui/options/clear_browser_data_handler.cc
|
| index b12d01e42ab1d93bd2d4d86f2a6491b0dd7786bd..2d6f5d2665c3917e67e814cc7b17d9cbec019867 100644
|
| --- a/chrome/browser/ui/webui/options/clear_browser_data_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/clear_browser_data_handler.cc
|
| @@ -111,16 +111,16 @@ void ClearBrowserDataHandler::InitializeHandler() {
|
| void ClearBrowserDataHandler::InitializePage() {
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "ClearBrowserDataOverlay.createFooter",
|
| - base::FundamentalValue(AreCountersEnabled()),
|
| - base::FundamentalValue(sync_service_ && sync_service_->IsSyncActive()),
|
| - base::FundamentalValue(should_show_history_notice_));
|
| + base::Value(AreCountersEnabled()),
|
| + base::Value(sync_service_ && sync_service_->IsSyncActive()),
|
| + base::Value(should_show_history_notice_));
|
| RefreshHistoryNotice();
|
| UpdateInfoBannerVisibility();
|
| OnBrowsingHistoryPrefChanged();
|
| bool removal_in_progress = !!remover_;
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "ClearBrowserDataOverlay.setClearing",
|
| - base::FundamentalValue(removal_in_progress));
|
| + base::Value(removal_in_progress));
|
|
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "ClearBrowserDataOverlay.markInitializationComplete");
|
| @@ -360,13 +360,13 @@ void ClearBrowserDataHandler::OnBrowsingDataRemoverDone() {
|
| "History.ClearBrowsingData.ShownHistoryNoticeAfterClearing", show_notice);
|
|
|
| web_ui()->CallJavascriptFunctionUnsafe("ClearBrowserDataOverlay.doneClearing",
|
| - base::FundamentalValue(show_notice));
|
| + base::Value(show_notice));
|
| }
|
|
|
| void ClearBrowserDataHandler::OnBrowsingHistoryPrefChanged() {
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "ClearBrowserDataOverlay.setAllowDeletingHistory",
|
| - base::FundamentalValue(*allow_deleting_browser_history_));
|
| + base::Value(*allow_deleting_browser_history_));
|
| }
|
|
|
| void ClearBrowserDataHandler::AddCounter(
|
| @@ -391,8 +391,8 @@ void ClearBrowserDataHandler::UpdateCounterText(
|
| void ClearBrowserDataHandler::OnStateChanged() {
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| "ClearBrowserDataOverlay.updateSyncWarningAndHistoryFooter",
|
| - base::FundamentalValue(sync_service_ && sync_service_->IsSyncActive()),
|
| - base::FundamentalValue(should_show_history_notice_));
|
| + base::Value(sync_service_ && sync_service_->IsSyncActive()),
|
| + base::Value(should_show_history_notice_));
|
| }
|
|
|
| void ClearBrowserDataHandler::RefreshHistoryNotice() {
|
|
|