summaryrefslogtreecommitdiffstats
path: root/chrome/browser/search_engines/template_url.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/search_engines/template_url.h')
-rw-r--r--chrome/browser/search_engines/template_url.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/search_engines/template_url.h b/chrome/browser/search_engines/template_url.h
index c9b36c4..983621a 100644
--- a/chrome/browser/search_engines/template_url.h
+++ b/chrome/browser/search_engines/template_url.h
@@ -250,6 +250,10 @@ class TemplateURL {
// Generates a favicon URL from the specified url.
static GURL GenerateFaviconURL(const GURL& url);
+ // Returns true if |true| is non-null and has a search URL that supports
+ // replacement.
+ static bool SupportsReplacement(const TemplateURL* turl);
+
TemplateURL()
: autogenerate_keyword_(false),
show_in_default_list_(false),