| Index: chrome/browser/search/search.h
|
| diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h
|
| index 0e9e8260b2b702197c306eebff6a19560acbc7ae..90143f7ea6c41ebdff0359048b5c0fc538bb25c9 100644
|
| --- a/chrome/browser/search/search.h
|
| +++ b/chrome/browser/search/search.h
|
| @@ -71,6 +71,14 @@ 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.
|
| +// Returns an empty string otherwise.
|
| +//
|
| +// |for_search| should be set to true for search requests, in which case this
|
| +// returns a non-empty string only if query extraction is enabled.
|
| +std::string InstantExtendedEnabledParam(bool for_search);
|
| +
|
| // Returns whether query extraction is enabled.
|
| bool IsQueryExtractionEnabled();
|
|
|
|
|