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

Side by Side Diff: content/renderer/cache_storage/webserviceworkercachestorage_impl.cc

Issue 1039763002: Cache Storage: Move files to content/*/cache_storage, rename classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN fix Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/renderer/service_worker/webserviceworkercachestorage_impl.h" 5 #include "content/renderer/cache_storage/webserviceworkercachestorage_impl.h"
6 6
7 #include "content/child/thread_safe_sender.h" 7 #include "content/child/thread_safe_sender.h"
8 #include "content/renderer/service_worker/service_worker_cache_storage_dispatche r.h" 8 #include "content/renderer/cache_storage/cache_storage_dispatcher.h"
9 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" 9 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h"
10 #include "third_party/WebKit/public/platform/WebServiceWorkerCache.h" 10 #include "third_party/WebKit/public/platform/WebServiceWorkerCache.h"
11 #include "third_party/WebKit/public/platform/WebServiceWorkerRequest.h" 11 #include "third_party/WebKit/public/platform/WebServiceWorkerRequest.h"
12 #include "third_party/WebKit/public/platform/WebServiceWorkerResponse.h" 12 #include "third_party/WebKit/public/platform/WebServiceWorkerResponse.h"
13 13
14 using base::TimeTicks; 14 using base::TimeTicks;
15 15
16 namespace content { 16 namespace content {
17 17
18 WebServiceWorkerCacheStorageImpl::WebServiceWorkerCacheStorageImpl( 18 WebServiceWorkerCacheStorageImpl::WebServiceWorkerCacheStorageImpl(
(...skipping 28 matching lines...) Expand all
47 GetDispatcher()->dispatchKeys(callbacks, origin_); 47 GetDispatcher()->dispatchKeys(callbacks, origin_);
48 } 48 }
49 49
50 void WebServiceWorkerCacheStorageImpl::dispatchMatch( 50 void WebServiceWorkerCacheStorageImpl::dispatchMatch(
51 CacheStorageMatchCallbacks* callbacks, 51 CacheStorageMatchCallbacks* callbacks,
52 const blink::WebServiceWorkerRequest& request, 52 const blink::WebServiceWorkerRequest& request,
53 const blink::WebServiceWorkerCache::QueryParams& query_params) { 53 const blink::WebServiceWorkerCache::QueryParams& query_params) {
54 GetDispatcher()->dispatchMatch(callbacks, origin_, request, query_params); 54 GetDispatcher()->dispatchMatch(callbacks, origin_, request, query_params);
55 } 55 }
56 56
57 ServiceWorkerCacheStorageDispatcher* 57 CacheStorageDispatcher* WebServiceWorkerCacheStorageImpl::GetDispatcher()
58 WebServiceWorkerCacheStorageImpl::GetDispatcher() const { 58 const {
59 return ServiceWorkerCacheStorageDispatcher::ThreadSpecificInstance( 59 return CacheStorageDispatcher::ThreadSpecificInstance(
60 thread_safe_sender_.get()); 60 thread_safe_sender_.get());
61 } 61 }
62 62
63 } // namespace content 63 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/cache_storage/webserviceworkercachestorage_impl.h ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698