| Index: chrome/browser/search_engines/template_url.h
|
| diff --git a/chrome/browser/search_engines/template_url.h b/chrome/browser/search_engines/template_url.h
|
| index 9660347e8af2abcf197751d06a17b1e45b839000..e9f8979246ae491c58411ce5230227eaca6fa86a 100644
|
| --- a/chrome/browser/search_engines/template_url.h
|
| +++ b/chrome/browser/search_engines/template_url.h
|
| @@ -136,6 +136,10 @@ class TemplateURLRef {
|
| // {google:baseURL} or {google:baseSuggestURL}.
|
| bool HasGoogleBaseURLs() const;
|
|
|
| + // Returns true if this TemplateURLRef has a replacement term of
|
| + // {google:instantExtendedEnabledParameter}.
|
| + bool HasGoogleInstantExtendedParam() const;
|
| +
|
| // Use the pattern referred to by this TemplateURLRef to match the provided
|
| // |url| and extract |search_terms| from it. Returns true if the pattern
|
| // matches, even if |search_terms| is empty. Returns false and an empty
|
| @@ -453,6 +457,10 @@ class TemplateURL {
|
| // update the keyword to reflect the current Google base URL TLD.
|
| bool IsGoogleSearchURLWithReplaceableKeyword() const;
|
|
|
| + // Returns true if the instant_url for this TemplateURL has a replacement for
|
| + // enabling Instant Extended.
|
| + bool SupportsInstantExtendedParam() const;
|
| +
|
| // Returns true if the keywords match or if
|
| // IsGoogleSearchURLWithReplaceableKeyword() is true for both TemplateURLs.
|
| bool HasSameKeywordAs(const TemplateURL& other) const;
|
|
|