| Index: chrome/browser/ui/webui/md_history_ui.cc
|
| diff --git a/chrome/browser/ui/webui/md_history_ui.cc b/chrome/browser/ui/webui/md_history_ui.cc
|
| index 6800bbed10526d32563a06a0e5a2f27116999aca..f024623109b2333a85c50c4514ddeeda921319f1 100644
|
| --- a/chrome/browser/ui/webui/md_history_ui.cc
|
| +++ b/chrome/browser/ui/webui/md_history_ui.cc
|
| @@ -17,6 +17,7 @@
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| +#include "chrome/grit/locale_settings.h"
|
| #include "components/prefs/pref_service.h"
|
| #include "components/search/search.h"
|
| #include "components/signin/core/browser/signin_manager.h"
|
| @@ -27,6 +28,7 @@
|
| #include "grit/components_strings.h"
|
| #include "grit/generated_resources.h"
|
| #include "grit/theme_resources.h"
|
| +#include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
|
|
| namespace {
|
| @@ -74,6 +76,13 @@ content::WebUIDataSource* CreateMdHistoryUIHTMLSource(Profile* profile) {
|
| IDS_MD_HISTORY_SIGN_IN_PROMO_DESC);
|
| source->AddLocalizedString("title", IDS_HISTORY_TITLE);
|
|
|
| + source->AddString(
|
| + "footer",
|
| + l10n_util::GetStringFUTF16(
|
| + IDS_HISTORY_OTHER_FORMS_OF_HISTORY,
|
| + l10n_util::GetStringUTF16(
|
| + IDS_SETTINGS_CLEAR_DATA_WEB_HISTORY_URL_IN_HISTORY)));
|
| +
|
| bool allow_deleting_history =
|
| prefs->GetBoolean(prefs::kAllowDeletingBrowserHistory);
|
| source->AddBoolean("allowDeletingHistory", allow_deleting_history);
|
|
|