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

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

Issue 433793002: Introducing the WebServiceWorkerCache. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix running with partial implementation Created 6 years, 4 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/CacheStorage.cpp
diff --git a/Source/modules/serviceworkers/CacheStorage.cpp b/Source/modules/serviceworkers/CacheStorage.cpp
index 3604bb40ae611aee230d5982f18916191d25425a..e0d2ce26832349ddf9c56e52001741ffaeada2a9 100644
--- a/Source/modules/serviceworkers/CacheStorage.cpp
+++ b/Source/modules/serviceworkers/CacheStorage.cpp
@@ -59,6 +59,11 @@ public:
virtual void onSuccess(WebServiceWorkerCache* cache) OVERRIDE
{
+ // FIXME: Remove this once content's WebServiceWorkerCache implementation has landed.
+ if (cache) {
+ m_resolver->reject("not implemented");
+ return;
+ }
m_resolver->resolve(Cache::fromWebServiceWorkerCache(cache));
}

Powered by Google App Engine
This is Rietveld 408576698