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

Unified Diff: Source/modules/cachestorage/InspectorCacheStorageAgent.h

Issue 1055543004: Move Cache Storage API implementation to modules/cachestorage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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: Source/modules/cachestorage/InspectorCacheStorageAgent.h
diff --git a/Source/modules/serviceworkers/InspectorServiceWorkerCacheAgent.h b/Source/modules/cachestorage/InspectorCacheStorageAgent.h
similarity index 55%
rename from Source/modules/serviceworkers/InspectorServiceWorkerCacheAgent.h
rename to Source/modules/cachestorage/InspectorCacheStorageAgent.h
index 5ee748016c2b8026d2418ed9889ad97d51c07051..e3617bd4b198aec9f48308568ec2f149180dbe5f 100644
--- a/Source/modules/serviceworkers/InspectorServiceWorkerCacheAgent.h
+++ b/Source/modules/cachestorage/InspectorCacheStorageAgent.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef InspectorServiceWorkerCacheAgent_h
-#define InspectorServiceWorkerCacheAgent_h
+#ifndef InspectorCacheStorageAgent_h
+#define InspectorCacheStorageAgent_h
#include "core/InspectorFrontend.h"
#include "core/inspector/InspectorBaseAgent.h"
@@ -16,16 +16,16 @@ typedef String ErrorString;
class ServiceWorkerGlobalScope;
-class InspectorServiceWorkerCacheAgent final : public InspectorBaseAgent<InspectorServiceWorkerCacheAgent, InspectorFrontend::ServiceWorkerCache>, public InspectorBackendDispatcher::ServiceWorkerCacheCommandHandler {
- WTF_MAKE_NONCOPYABLE(InspectorServiceWorkerCacheAgent);
+class InspectorCacheStorageAgent final : public InspectorBaseAgent<InspectorCacheStorageAgent, InspectorFrontend::ServiceWorkerCache>, public InspectorBackendDispatcher::ServiceWorkerCacheCommandHandler {
+ WTF_MAKE_NONCOPYABLE(InspectorCacheStorageAgent);
public:
- static PassOwnPtrWillBeRawPtr<InspectorServiceWorkerCacheAgent> create(ServiceWorkerGlobalScope* workerGlobalScope)
+ static PassOwnPtrWillBeRawPtr<InspectorCacheStorageAgent> create(ServiceWorkerGlobalScope* workerGlobalScope)
{
- return adoptPtrWillBeNoop(new InspectorServiceWorkerCacheAgent(workerGlobalScope));
+ return adoptPtrWillBeNoop(new InspectorCacheStorageAgent(workerGlobalScope));
}
- virtual ~InspectorServiceWorkerCacheAgent();
+ virtual ~InspectorCacheStorageAgent();
DECLARE_VIRTUAL_TRACE();
@@ -34,11 +34,11 @@ public:
virtual void deleteCache(ErrorString*, const String& cacheName, PassRefPtrWillBeRawPtr<DeleteCacheCallback>) override;
private:
- explicit InspectorServiceWorkerCacheAgent(ServiceWorkerGlobalScope*);
+ explicit InspectorCacheStorageAgent(ServiceWorkerGlobalScope*);
ServiceWorkerGlobalScope* m_globalScope;
};
} // namespace blink
-#endif // InspectorServiceWorkerCacheAgent_h
+#endif // InspectorCacheStorageAgent_h
« no previous file with comments | « Source/modules/cachestorage/GlobalCacheStorage.cpp ('k') | Source/modules/cachestorage/InspectorCacheStorageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698