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

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

Issue 2645713003: [Prerender] Cleanup prerender_util (Closed)
Patch Set: ALLOW_NON_STANDARD_PORTS 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
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..6cc99ce51f6c5194a031d63f5459fc3f102d93b3 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 IsGWSOriginURL(const GURL& origin_url);
// Report a URL was canceled due to trying to handle an external URL.
void ReportPrerenderExternalURL();

Powered by Google App Engine
This is Rietveld 408576698