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

Side by Side Diff: content/browser/appcache/appcache_request.cc

Issue 2974733002: Add support for subresource request fallback in AppCache for the network service.. (Closed)
Patch Set: Format changes Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/appcache/appcache_request.h" 5 #include "content/browser/appcache/appcache_request.h"
6 #include "content/common/appcache_interfaces.h" 6 #include "content/common/appcache_interfaces.h"
7 #include "net/url_request/url_request.h" 7 #include "net/url_request/url_request.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 AppCacheRequest::~AppCacheRequest() { 11 AppCacheRequest::~AppCacheRequest() {
12 DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); 12 DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
13 } 13 }
14 14
15 // static 15 // static
16 bool AppCacheRequest::IsSchemeAndMethodSupportedForAppCache( 16 bool AppCacheRequest::IsSchemeAndMethodSupportedForAppCache(
17 const AppCacheRequest* request) { 17 const AppCacheRequest* request) {
18 return IsSchemeSupportedForAppCache(request->GetURL()) && 18 return IsSchemeSupportedForAppCache(request->GetURL()) &&
19 IsMethodSupportedForAppCache(request->GetMethod()); 19 IsMethodSupportedForAppCache(request->GetMethod());
20 } 20 }
21 21
22 net::URLRequest* AppCacheRequest::GetURLRequest() { 22 net::URLRequest* AppCacheRequest::GetURLRequest() {
23 return nullptr; 23 return nullptr;
24 } 24 }
25 25
26 ResourceRequest* AppCacheRequest::GetResourceRequest() { 26 ResourceRequest* AppCacheRequest::GetResourceRequest() {
27 return nullptr; 27 return nullptr;
28 } 28 }
29 29
30 AppCacheURLRequest* AppCacheRequest::AsURLRequest() {
31 return nullptr;
32 }
33
34 AppCacheURLLoaderRequest* AppCacheRequest::AsURLLoaderRequest() {
35 return nullptr;
36 }
37
30 } // namespace content 38 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_request.h ('k') | content/browser/appcache/appcache_request_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698