OLD | NEW |
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 |
OLD | NEW |