Index: chrome/browser/ui/search/search.cc |
diff --git a/chrome/browser/ui/search/search.cc b/chrome/browser/ui/search/search.cc |
index e6d79bd0b396f29bd7fe61063768d7ef381625c2..c6f8cdeb2804f056d3708e9d56f401b4e072bb95 100644 |
--- a/chrome/browser/ui/search/search.cc |
+++ b/chrome/browser/ui/search/search.cc |
@@ -167,7 +167,7 @@ uint64 EmbeddedSearchPageVersion(const Profile* profile) { |
} |
bool IsQueryExtractionEnabled(const Profile* profile) { |
-#if defined(OS_IOS) |
+#if defined(OS_IOS) || defined(OS_ANDROID) |
const CommandLine* cl = CommandLine::ForCurrentProcess(); |
return cl->HasSwitch(switches::kEnableQueryExtraction); |
#else |
@@ -262,7 +262,7 @@ void EnableInstantExtendedAPIForTesting() { |
} |
void EnableQueryExtractionForTesting() { |
-#if defined(OS_IOS) |
+#if defined(OS_IOS) || defined(OS_ANDROID) |
CommandLine* cl = CommandLine::ForCurrentProcess(); |
cl->AppendSwitch(switches::kEnableQueryExtraction); |
#else |