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

Unified Diff: components/search/search.h

Issue 2211983002: Remove search::IsQueryExtractionEnabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_prefetch_non_default
Patch Set: Android Created 4 years, 4 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: components/search/search.h
diff --git a/components/search/search.h b/components/search/search.h
index ee7fe8fada0319f5607a26cbe25c7d02c6b0cf87..a8b21a472bd179a09ab053c23772a24812e6f7ba 100644
--- a/components/search/search.h
+++ b/components/search/search.h
@@ -77,9 +77,6 @@ std::string InstantExtendedEnabledParam(bool for_search);
// the returned string to be non-empty.
std::string ForceInstantResultsParam(bool for_prerender);
-// Returns whether query extraction is enabled.
-bool IsQueryExtractionEnabled();
-
// Returns true if 'prefetch_results' flag is set to true in field trials to
// prefetch high-confidence search suggestions.
bool ShouldPrefetchSearchResults();
@@ -93,13 +90,6 @@ bool ShouldReuseInstantSearchBasePage();
// --google-base-url to point at non-HTTPS servers, which eases testing.)
bool IsSuitableURLForInstant(const GURL& url, const TemplateURL* template_url);
-// -----------------------------------------------------
-// The following APIs are exposed for use in tests only.
-// -----------------------------------------------------
-
-// Forces query in the omnibox to be on for tests.
-void EnableQueryExtractionForTesting();
-
} // namespace search
#endif // COMPONENTS_SEARCH_SEARCH_H_

Powered by Google App Engine
This is Rietveld 408576698