Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4384)

Unified Diff: chrome/browser/prerender/prerender_util.h

Issue 2645713003: [Prerender] Cleanup prerender_util (Closed)
Patch Set: Review comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/prerender/prerender_manager.cc ('k') | chrome/browser/prerender/prerender_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_util.h
diff --git a/chrome/browser/prerender/prerender_util.h b/chrome/browser/prerender/prerender_util.h
index fd236c790410c318dd4e70573e4ab03b8b6fd208..bf7dd9dff4c0e919ec4076d946c7eb0720b7d0be 100644
--- a/chrome/browser/prerender/prerender_util.h
+++ b/chrome/browser/prerender/prerender_util.h
@@ -5,20 +5,12 @@
#ifndef CHROME_BROWSER_PRERENDER_PRERENDER_UTIL_H_
#define CHROME_BROWSER_PRERENDER_PRERENDER_UTIL_H_
-#include "url/gurl.h"
+class GURL;
namespace prerender {
-// Extracts a urlencoded URL stored in a url= query parameter from a URL
-// supplied, if available, and stores it in alias_url. Returns whether or not
-// the operation succeeded (i.e. a valid URL was found).
-bool MaybeGetQueryStringBasedAliasURL(const GURL& url, GURL* alias_url);
-
-// Indicates whether the URL provided has a Google domain
-bool IsGoogleDomain(const GURL& url);
-
-// Indicates whether the URL provided could be a Google search result page.
-bool IsGoogleSearchResultURL(const GURL& url);
+// Indicates whether the URL provided is a GWS origin.
+bool IsGoogleOriginURL(const GURL& origin_url);
// Report a URL was canceled due to trying to handle an external URL.
void ReportPrerenderExternalURL();
« no previous file with comments | « chrome/browser/prerender/prerender_manager.cc ('k') | chrome/browser/prerender/prerender_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698