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

Unified Diff: content/browser/appcache/appcache_request.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/browser/appcache/appcache_request.cc
diff --git a/content/browser/appcache/appcache_request.cc b/content/browser/appcache/appcache_request.cc
new file mode 100644
index 0000000000000000000000000000000000000000..62c6d74e8cf63cdaa743a364f96ed2cd2b984a23
--- /dev/null
+++ b/content/browser/appcache/appcache_request.cc
@@ -0,0 +1,26 @@
+// Copyright (c) 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/browser/appcache/appcache_request.h"
+#include "content/common/appcache_interfaces.h"
+#include "net/url_request/url_request.h"
+
+namespace content {
+
+// static
+bool AppCacheRequest::IsSchemeAndMethodSupportedForAppCache(
+ const AppCacheRequest* request) {
+ return IsSchemeSupportedForAppCache(request->GetURL()) &&
+ IsMethodSupportedForAppCache(request->GetMethod());
+}
+
+net::URLRequest* AppCacheRequest::GetURLRequest() {
+ return nullptr;
+}
+
+ResourceRequest* AppCacheRequest::GetResourceRequest() {
+ return nullptr;
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698