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

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

Issue 329433002: Initial ServiceWorker CacheStorage API polyfill. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: clear to land Created 6 years, 6 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
« no previous file with comments | « Source/modules/modules.gyp ('k') | Source/modules/serviceworkers/polyfills/cachePolyfill.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
index ce9d7cfcef6e5a27c13fc0978000f1db1960b23b..44614b93214c209f1500d0e15a22004d208bc28f 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp
@@ -31,6 +31,7 @@
#include "ServiceWorkerGlobalScope.h"
#include "CachePolyfill.h"
+#include "CacheStoragePolyfill.h"
#include "FetchPolyfill.h"
#include "core/workers/WorkerClients.h"
#include "core/workers/WorkerThreadStartupData.h"
@@ -52,6 +53,7 @@ PassRefPtrWillBeRawPtr<ServiceWorkerGlobalScope> ServiceWorkerGlobalScope::creat
context->script()->evaluate(String(fetchPolyfillJs, sizeof(fetchPolyfillJs)));
context->script()->evaluate(String(cachePolyfillJs, sizeof(cachePolyfillJs)));
+ context->script()->evaluate(String(cacheStoragePolyfillJs, sizeof(cacheStoragePolyfillJs)));
return context.release();
}
« no previous file with comments | « Source/modules/modules.gyp ('k') | Source/modules/serviceworkers/polyfills/cachePolyfill.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698