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

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

Issue 1124403005: CacheStorage: Implement Cache.addAll() behind a flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix test failure 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
Index: Source/modules/cachestorage/Cache.h
diff --git a/Source/modules/cachestorage/Cache.h b/Source/modules/cachestorage/Cache.h
index 0be17515ea72dc6f30f55c9881de8043b7f0771d..b9e11b544864bc7c4ffd9a7d26e8109d75d8bc3c 100644
--- a/Source/modules/cachestorage/Cache.h
+++ b/Source/modules/cachestorage/Cache.h
@@ -38,7 +38,7 @@ public:
ScriptPromise match(ScriptState*, const RequestInfo&, const CacheQueryOptions&, ExceptionState&);
ScriptPromise matchAll(ScriptState*, const RequestInfo&, const CacheQueryOptions&, ExceptionState&);
ScriptPromise add(ScriptState*, const RequestInfo&, ExceptionState&);
- ScriptPromise addAll(ScriptState*, const Vector<ScriptValue>&);
+ ScriptPromise addAll(ScriptState*, const HeapVector<RequestInfo>&, ExceptionState&);
ScriptPromise deleteFunction(ScriptState*, const RequestInfo&, const CacheQueryOptions&, ExceptionState&);
ScriptPromise put(ScriptState*, const RequestInfo&, Response*, ExceptionState&);
ScriptPromise keys(ScriptState*, ExceptionState&);
@@ -57,7 +57,7 @@ private:
ScriptPromise matchImpl(ScriptState*, const Request*, const CacheQueryOptions&);
ScriptPromise matchAllImpl(ScriptState*, const Request*, const CacheQueryOptions&);
- ScriptPromise addAllImpl(ScriptState*, const Vector<Request*>&, ExceptionState&);
+ ScriptPromise addAllImpl(ScriptState*, const HeapVector<Member<Request>>&, ExceptionState&);
ScriptPromise deleteImpl(ScriptState*, const Request*, const CacheQueryOptions&);
ScriptPromise putImpl(ScriptState*, const HeapVector<Member<Request>>&, const HeapVector<Member<Response>>&);
ScriptPromise keysImpl(ScriptState*);
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt ('k') | Source/modules/cachestorage/Cache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698