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

Unified Diff: content/common/appcache_interfaces.cc

Issue 2848493007: Reduce/Remove URLRequest dependencies from AppCacheRequestHandler (Closed)
Patch Set: format changes Created 3 years, 8 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: content/common/appcache_interfaces.cc
diff --git a/content/common/appcache_interfaces.cc b/content/common/appcache_interfaces.cc
index 8342a364f0f94d4cf2dbc6515dbd30e408494f65..fea95e702418bcb8fdc2e9d35ca28e667fc44473 100644
--- a/content/common/appcache_interfaces.cc
+++ b/content/common/appcache_interfaces.cc
@@ -9,7 +9,6 @@
#include "base/strings/pattern.h"
#include "base/strings/string_util.h"
#include "content/public/common/url_constants.h"
-#include "net/url_request/url_request.h"
#include "url/gurl.h"
#include "url/url_constants.h"
@@ -138,9 +137,4 @@ bool IsMethodSupportedForAppCache(const std::string& method) {
return (method == kHttpGETMethod) || (method == kHttpHEADMethod);
}
-bool IsSchemeAndMethodSupportedForAppCache(const net::URLRequest* request) {
- return IsSchemeSupportedForAppCache(request->url()) &&
- IsMethodSupportedForAppCache(request->method());
-}
-
} // namespace content
« content/browser/appcache/appcache_request_handler.cc ('K') | « content/common/appcache_interfaces.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698