| 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 5d1542bb69c8a4f8aabbeba997a4e0ced89988c9..9d0435593268b94173aaef96ddecf902347b1273 100644
|
| --- a/chrome/browser/search_engines/template_url.h
|
| +++ b/chrome/browser/search_engines/template_url.h
|
| @@ -567,6 +567,11 @@ class TemplateURL {
|
| // Generates a favicon URL from the specified url.
|
| static GURL GenerateFaviconURL(const GURL& url);
|
|
|
| + // Returns true if |t_url| and |data| are equal in all meaningful respects.
|
| + // Static to allow either or both params to be NULL.
|
| + static bool MatchesData(const TemplateURL* t_url,
|
| + const TemplateURLData* data);
|
| +
|
| Profile* profile() { return profile_; }
|
| const TemplateURLData& data() const { return data_; }
|
|
|
| @@ -645,6 +650,9 @@ class TemplateURL {
|
| bool SupportsReplacementUsingTermsData(
|
| const SearchTermsData& search_terms_data) const;
|
|
|
| + // Returns true if any URLRefs use Googe base URLs.
|
| + bool HasGoogleBaseURLs() const;
|
| +
|
| // Returns true if this TemplateURL uses Google base URLs and has a keyword
|
| // of "google.TLD". We use this to decide whether we can automatically
|
| // update the keyword to reflect the current Google base URL TLD.
|
|
|