Chromium Code Reviews| Index: chrome/browser/search/search.h |
| diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h |
| index 0e9e8260b2b702197c306eebff6a19560acbc7ae..309989810d3d0fc3412ecb3198d32642d1ab4533 100644 |
| --- a/chrome/browser/search/search.h |
| +++ b/chrome/browser/search/search.h |
| @@ -71,6 +71,13 @@ bool IsSuggestPrefEnabled(Profile* profile); |
| // the Instant Extended API is not enabled. |
| uint64 EmbeddedSearchPageVersion(); |
| +// Returns a string indicating whether InstantExtended is enabled, suitable |
| +// for adding as a query string param to the homepage or search requests. |
| +// |
| +// |for_search| is set to true for search requests and this |
|
samarth
2014/02/05 21:16:16
|for_search| should be set to true for search requ
kmadhusu
2014/02/05 21:59:40
Done.
|
| +// function returns an empty string when the query extraction is disabled. |
| +std::string InstantExtendedEnabledParam(bool for_search); |
| + |
| // Returns whether query extraction is enabled. |
| bool IsQueryExtractionEnabled(); |