Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5573)

Unified Diff: chrome/browser/ui/toolbar/toolbar_model_unittest.cc

Issue 12319124: Enable query extraction for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed build errors Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/search/search.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/toolbar/toolbar_model_unittest.cc
diff --git a/chrome/browser/ui/toolbar/toolbar_model_unittest.cc b/chrome/browser/ui/toolbar/toolbar_model_unittest.cc
index 019033b7d89ba9ed546f7078566badd3f01b266b..91cde896be61fb6e27b3ccf8bae57a1b41f18581 100644
--- a/chrome/browser/ui/toolbar/toolbar_model_unittest.cc
+++ b/chrome/browser/ui/toolbar/toolbar_model_unittest.cc
@@ -178,7 +178,7 @@ class ToolbarModelTest : public BrowserWithTestWindowTest {
const std::string kInstantExtendedPrefix(
"https://google.com/search?espv=1&q=");
- chrome::search::EnableQueryExtractionForTesting();
+ chrome::search::EnableInstantExtendedAPIForTesting();
ResetDefaultTemplateURL();
AddTab(browser(), GURL(chrome::kAboutBlankURL));
@@ -247,7 +247,7 @@ TEST_F(ToolbarModelTest, ShouldDisplayURLQueryExtractionDisabled) {
// Test that we replace URLs when the query extraction API is enabled.
TEST_F(ToolbarModelTest, ShouldDisplayURLQueryExtractionEnabled) {
- chrome::search::EnableQueryExtractionForTesting();
+ chrome::search::EnableInstantExtendedAPIForTesting();
ResetDefaultTemplateURL();
AddTab(browser(), GURL(chrome::kAboutBlankURL));
« no previous file with comments | « chrome/browser/ui/search/search.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698