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 7ef8b01a3460c9d5c4e5e31491c54b26ebb20ec8..7462e6253b08fc78d3a5d0d15e9c7539cc544cfe 100644 |
--- a/chrome/browser/ui/webui/md_history_ui.cc |
+++ b/chrome/browser/ui/webui/md_history_ui.cc |
@@ -30,6 +30,7 @@ |
#include "components/strings/grit/components_strings.h" |
#include "content/public/browser/web_ui.h" |
#include "content/public/browser/web_ui_data_source.h" |
+#include "content/public/common/url_constants.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/resource_bundle.h" |
@@ -51,7 +52,7 @@ bool MenuPromoShown(Profile* profile) { |
content::WebUIDataSource* CreateMdHistoryUIHTMLSource(Profile* profile, |
bool use_test_title) { |
content::WebUIDataSource* source = |
- content::WebUIDataSource::Create(chrome::kChromeUIHistoryHost); |
+ content::WebUIDataSource::Create(content::kChromeUIHistoryHost); |
// Localized strings (alphabetical order). |
source->AddLocalizedString("bookmarked", IDS_HISTORY_ENTRY_BOOKMARKED); |
@@ -249,7 +250,7 @@ void MdHistoryUI::UpdateDataSource() { |
update->SetBoolean(kIsUserSignedInKey, IsUserSignedIn(profile)); |
update->SetBoolean(kShowMenuPromoKey, !MenuPromoShown(profile)); |
- content::WebUIDataSource::Update(profile, chrome::kChromeUIHistoryHost, |
+ content::WebUIDataSource::Update(profile, content::kChromeUIHistoryHost, |
std::move(update)); |
} |