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 b2b732da4622824360a8286d6771b4f9f4d459d1..c691d10f365d57f00a8a8bd04b9a14085395d03f 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 { |
@@ -77,6 +79,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); |