Index: chrome/browser/ui/webui/history_ui.cc |
diff --git a/chrome/browser/ui/webui/history_ui.cc b/chrome/browser/ui/webui/history_ui.cc |
index 687bca4ed139f956a5f0c37515eab65d48b8b747..0fd41b3b01904e68692d0c85932122c6d24fe09e 100644 |
--- a/chrome/browser/ui/webui/history_ui.cc |
+++ b/chrome/browser/ui/webui/history_ui.cc |
@@ -209,7 +209,7 @@ content::WebUIDataSource* CreateHistoryUIHTMLSource(Profile* profile) { |
prefs->GetBoolean(prefs::kAllowDeletingBrowserHistory); |
source->AddBoolean("allowDeletingHistory", allow_deleting_history); |
source->AddBoolean("isInstantExtendedApiEnabled", |
- chrome::IsInstantExtendedAPIEnabled()); |
+ search::IsInstantExtendedAPIEnabled()); |
source->AddBoolean("isSupervisedProfile", profile->IsSupervised()); |
source->AddBoolean("hideDeleteVisitUI", |
profile->IsSupervised() && !allow_deleting_history); |
@@ -1037,7 +1037,7 @@ HistoryUI::HistoryUI(content::WebUI* web_ui) : WebUIController(web_ui) { |
// On mobile we deal with foreign sessions differently. |
#if !defined(OS_ANDROID) && !defined(OS_IOS) |
- if (chrome::IsInstantExtendedAPIEnabled()) { |
+ if (search::IsInstantExtendedAPIEnabled()) { |
web_ui->AddMessageHandler(new browser_sync::ForeignSessionHandler()); |
web_ui->AddMessageHandler(new HistoryLoginHandler()); |
} |