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

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

Issue 2355453002: [NoStatePrefetch] Support only GET and HEAD (Closed)
Patch Set: format Created 4 years, 3 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_manager.h
diff --git a/chrome/browser/prerender/prerender_manager.h b/chrome/browser/prerender/prerender_manager.h
index 6812e54204e0a1c47c4c192aba8f9983a9400db5..71ee26b7495a47405a22d0ce331677f4bf3cf788 100644
--- a/chrome/browser/prerender/prerender_manager.h
+++ b/chrome/browser/prerender/prerender_manager.h
@@ -259,9 +259,6 @@ class PrerenderManager : public content::NotificationObserver,
// Checks whether |url| has been recently navigated to.
bool HasRecentlyBeenNavigatedTo(Origin origin, const GURL& url);
- // Returns true iff the method given is valid for prerendering.
- static bool IsValidHttpMethod(const std::string& method);
-
// Returns true iff the scheme of the URL given is valid for prerendering.
static bool DoesURLHaveValidScheme(const GURL& url);

Powered by Google App Engine
This is Rietveld 408576698