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

Unified Diff: Source/modules/serviceworkers/InspectorServiceWorkerCacheAgent.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/serviceworkers/InspectorServiceWorkerCacheAgent.h
diff --git a/Source/modules/serviceworkers/InspectorServiceWorkerCacheAgent.h b/Source/modules/serviceworkers/InspectorServiceWorkerCacheAgent.h
deleted file mode 100644
index 5ee748016c2b8026d2418ed9889ad97d51c07051..0000000000000000000000000000000000000000
--- a/Source/modules/serviceworkers/InspectorServiceWorkerCacheAgent.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// 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
-
-#include "core/InspectorFrontend.h"
-#include "core/inspector/InspectorBaseAgent.h"
-#include "wtf/PassOwnPtr.h"
-#include "wtf/text/WTFString.h"
-
-namespace blink {
-
-typedef String ErrorString;
-
-class ServiceWorkerGlobalScope;
-
-class InspectorServiceWorkerCacheAgent final : public InspectorBaseAgent<InspectorServiceWorkerCacheAgent, InspectorFrontend::ServiceWorkerCache>, public InspectorBackendDispatcher::ServiceWorkerCacheCommandHandler {
- WTF_MAKE_NONCOPYABLE(InspectorServiceWorkerCacheAgent);
-
-public:
- static PassOwnPtrWillBeRawPtr<InspectorServiceWorkerCacheAgent> create(ServiceWorkerGlobalScope* workerGlobalScope)
- {
- return adoptPtrWillBeNoop(new InspectorServiceWorkerCacheAgent(workerGlobalScope));
- }
-
- virtual ~InspectorServiceWorkerCacheAgent();
-
- DECLARE_VIRTUAL_TRACE();
-
- virtual void requestCacheNames(ErrorString*, PassRefPtrWillBeRawPtr<RequestCacheNamesCallback>) override;
- virtual void requestEntries(ErrorString*, const String& cacheName, int skipCount, int pageSize, PassRefPtrWillBeRawPtr<RequestEntriesCallback>) override;
- virtual void deleteCache(ErrorString*, const String& cacheName, PassRefPtrWillBeRawPtr<DeleteCacheCallback>) override;
-
-private:
- explicit InspectorServiceWorkerCacheAgent(ServiceWorkerGlobalScope*);
-
- ServiceWorkerGlobalScope* m_globalScope;
-};
-
-} // namespace blink
-
-#endif // InspectorServiceWorkerCacheAgent_h

Powered by Google App Engine
This is Rietveld 408576698