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

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

Issue 1210873004: CacheStorage: Enable Cache::putImpl to receive multiple requests/responses (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | « no previous file | Source/modules/cachestorage/Cache.cpp » ('j') | Source/modules/cachestorage/Cache.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/cachestorage/Cache.h
diff --git a/Source/modules/cachestorage/Cache.h b/Source/modules/cachestorage/Cache.h
index 804820cbe53ad2a4cce396f44ce52fbfa3c84fb1..0be17515ea72dc6f30f55c9881de8043b7f0771d 100644
--- a/Source/modules/cachestorage/Cache.h
+++ b/Source/modules/cachestorage/Cache.h
@@ -49,8 +49,9 @@ public:
DEFINE_INLINE_TRACE() { }
private:
+ class BarrierCallbackForPut;
+ class BlobHandleCallbackForPut;
class FetchResolvedForAdd;
- class AsyncPutBatch;
friend class FetchResolvedForAdd;
Cache(WeakPtr<GlobalFetch::ScopedFetcher>, WebServiceWorkerCache*);
@@ -58,7 +59,7 @@ private:
ScriptPromise matchAllImpl(ScriptState*, const Request*, const CacheQueryOptions&);
ScriptPromise addAllImpl(ScriptState*, const Vector<Request*>&, ExceptionState&);
ScriptPromise deleteImpl(ScriptState*, const Request*, const CacheQueryOptions&);
- ScriptPromise putImpl(ScriptState*, Request*, Response*);
+ ScriptPromise putImpl(ScriptState*, const HeapVector<Member<Request>>&, const HeapVector<Member<Response>>&);
ScriptPromise keysImpl(ScriptState*);
ScriptPromise keysImpl(ScriptState*, const Request*, const CacheQueryOptions&);
« no previous file with comments | « no previous file | Source/modules/cachestorage/Cache.cpp » ('j') | Source/modules/cachestorage/Cache.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698