| 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() { |
| 12 DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); |
| 13 } |
| 14 |
| 11 // static | 15 // static |
| 12 bool AppCacheRequest::IsSchemeAndMethodSupportedForAppCache( | 16 bool AppCacheRequest::IsSchemeAndMethodSupportedForAppCache( |
| 13 const AppCacheRequest* request) { | 17 const AppCacheRequest* request) { |
| 14 return IsSchemeSupportedForAppCache(request->GetURL()) && | 18 return IsSchemeSupportedForAppCache(request->GetURL()) && |
| 15 IsMethodSupportedForAppCache(request->GetMethod()); | 19 IsMethodSupportedForAppCache(request->GetMethod()); |
| 16 } | 20 } |
| 17 | 21 |
| 18 net::URLRequest* AppCacheRequest::GetURLRequest() { | 22 net::URLRequest* AppCacheRequest::GetURLRequest() { |
| 19 return nullptr; | 23 return nullptr; |
| 20 } | 24 } |
| 21 | 25 |
| 22 ResourceRequest* AppCacheRequest::GetResourceRequest() { | 26 ResourceRequest* AppCacheRequest::GetResourceRequest() { |
| 23 return nullptr; | 27 return nullptr; |
| 24 } | 28 } |
| 25 | 29 |
| 26 } // namespace content | 30 } // namespace content |
| OLD | NEW |