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

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: Removed kEnableQueryExtraction Created 7 years, 10 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
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 a314c08a6f9f063f07e47e006940f295e41df942..715639b4bf38c896f1c40bcab584a0cd66ae4a86 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));

Powered by Google App Engine
This is Rietveld 408576698