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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp

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/ServiceWorkerGlobalScope.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
index fff7d506ba11cd0fc1f93d864fdac45f748f1518..241c00140ae8112a70ec35739ccd2cd5b3fcdd47 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
@@ -43,8 +43,9 @@
#include "core/workers/WorkerClients.h"
#include "core/workers/WorkerThreadStartupData.h"
#include "modules/EventTargetModules.h"
+#include "modules/cachestorage/CacheStorage.h"
+#include "modules/cachestorage/InspectorCacheStorageAgent.h"
#include "modules/fetch/GlobalFetch.h"
-#include "modules/serviceworkers/InspectorServiceWorkerCacheAgent.h"
#include "modules/serviceworkers/ServiceWorkerClients.h"
#include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h"
#include "modules/serviceworkers/ServiceWorkerRegistration.h"
@@ -98,7 +99,7 @@ ServiceWorkerGlobalScope::ServiceWorkerGlobalScope(const KURL& url, const String
, m_scriptTotalSize(0)
, m_scriptCachedMetadataTotalSize(0)
{
- workerInspectorController()->registerModuleAgent(InspectorServiceWorkerCacheAgent::create(this));
+ workerInspectorController()->registerModuleAgent(InspectorCacheStorageAgent::create(this));
}
ServiceWorkerGlobalScope::~ServiceWorkerGlobalScope()

Powered by Google App Engine
This is Rietveld 408576698