summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prerender/prerender_util.h
diff options
context:
space:
mode:
authortburkard@chromium.org <tburkard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-30 23:50:59 +0000
committertburkard@chromium.org <tburkard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-30 23:50:59 +0000
commit2d02bea25a2ea6d67c3d1f4a06d3bbe697938163 (patch)
tree3c9988ceefa563b197761a14b9445956a852f6b6 /chrome/browser/prerender/prerender_util.h
parent5a47f866290d8abd546f1373661f0c00c0fdd128 (diff)
downloadchromium_src-2d02bea25a2ea6d67c3d1f4a06d3bbe697938163.zip
chromium_src-2d02bea25a2ea6d67c3d1f4a06d3bbe697938163.tar.gz
chromium_src-2d02bea25a2ea6d67c3d1f4a06d3bbe697938163.tar.bz2
Tighten conditions for when a URL is a search result, and move
it to a different class. R=ziga, dominich Review URL: http://codereview.chromium.org/7812011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98895 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/prerender/prerender_util.h')
-rw-r--r--chrome/browser/prerender/prerender_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/prerender/prerender_util.h b/chrome/browser/prerender/prerender_util.h
index 87bdc52..1948475 100644
--- a/chrome/browser/prerender/prerender_util.h
+++ b/chrome/browser/prerender/prerender_util.h
@@ -24,6 +24,9 @@ bool MaybeGetQueryStringBasedAliasURL(const GURL& url, GURL* alias_url);
// is not an integer in the range 1 to 9.
uint8 GetQueryStringBasedExperiment(const GURL& url);
+// Indicates whether the URL provided could be a Google search result page.
+bool IsGoogleSearchResultURL(const GURL& url);
+
} // namespace prerender
#endif // CHROME_BROWSER_PRERENDER_PRERENDER_UTIL_H_