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

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

Issue 2911983004: Replace deprecated base::NonThreadSafe in content/browser/appcache in favor of SequenceChecker. (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « content/browser/appcache/appcache_request.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
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
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_request.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698