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

Unified 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, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/cache_storage/webserviceworkercachestorage_impl.cc
diff --git a/content/renderer/service_worker/webserviceworkercachestorage_impl.cc b/content/renderer/cache_storage/webserviceworkercachestorage_impl.cc
similarity index 85%
rename from content/renderer/service_worker/webserviceworkercachestorage_impl.cc
rename to content/renderer/cache_storage/webserviceworkercachestorage_impl.cc
index 5d14b164138ce3bd69bcc793f0e586b558f21086..e8c2a05c4eaf0b3009fc91a574b646a35786c880 100644
--- a/content/renderer/service_worker/webserviceworkercachestorage_impl.cc
+++ b/content/renderer/cache_storage/webserviceworkercachestorage_impl.cc
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/renderer/service_worker/webserviceworkercachestorage_impl.h"
+#include "content/renderer/cache_storage/webserviceworkercachestorage_impl.h"
#include "content/child/thread_safe_sender.h"
-#include "content/renderer/service_worker/service_worker_cache_storage_dispatcher.h"
+#include "content/renderer/cache_storage/cache_storage_dispatcher.h"
#include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h"
#include "third_party/WebKit/public/platform/WebServiceWorkerCache.h"
#include "third_party/WebKit/public/platform/WebServiceWorkerRequest.h"
@@ -54,9 +54,9 @@ void WebServiceWorkerCacheStorageImpl::dispatchMatch(
GetDispatcher()->dispatchMatch(callbacks, origin_, request, query_params);
}
-ServiceWorkerCacheStorageDispatcher*
-WebServiceWorkerCacheStorageImpl::GetDispatcher() const {
- return ServiceWorkerCacheStorageDispatcher::ThreadSpecificInstance(
+CacheStorageDispatcher* WebServiceWorkerCacheStorageImpl::GetDispatcher()
+ const {
+ return CacheStorageDispatcher::ThreadSpecificInstance(
thread_safe_sender_.get());
}
« 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