Index: Source/modules/serviceworkers/Cache.h |
diff --git a/Source/modules/serviceworkers/Cache.h b/Source/modules/serviceworkers/Cache.h |
index 2ed9e615f8fc0e480ad7156aa4b493b1e35ce52b..444bbd132f70d133c52656a149776b53c9b73b9e 100644 |
--- a/Source/modules/serviceworkers/Cache.h |
+++ b/Source/modules/serviceworkers/Cache.h |
@@ -19,6 +19,7 @@ |
namespace blink { |
+class ExceptionState; |
class Response; |
class Request; |
class ScriptState; |
@@ -31,19 +32,19 @@ public: |
// From Cache.idl: |
ScriptPromise match(ScriptState*, Request*, const CacheQueryOptions&); |
- ScriptPromise match(ScriptState*, const String&, const CacheQueryOptions&); |
+ ScriptPromise match(ScriptState*, const String&, const CacheQueryOptions&, ExceptionState&); |
ScriptPromise matchAll(ScriptState*, Request*, const CacheQueryOptions&); |
- ScriptPromise matchAll(ScriptState*, const String&, const CacheQueryOptions&); |
+ ScriptPromise matchAll(ScriptState*, const String&, const CacheQueryOptions&, ExceptionState&); |
ScriptPromise add(ScriptState*, Request*); |
- ScriptPromise add(ScriptState*, const String&); |
+ ScriptPromise add(ScriptState*, const String&, ExceptionState&); |
ScriptPromise addAll(ScriptState*, const Vector<ScriptValue>&); |
ScriptPromise deleteFunction(ScriptState*, Request*, const CacheQueryOptions&); |
- ScriptPromise deleteFunction(ScriptState*, const String&, const CacheQueryOptions&); |
+ ScriptPromise deleteFunction(ScriptState*, const String&, const CacheQueryOptions&, ExceptionState&); |
ScriptPromise put(ScriptState*, Request*, Response*); |
- ScriptPromise put(ScriptState*, const String&, Response*); |
+ ScriptPromise put(ScriptState*, const String&, Response*, ExceptionState&); |
ScriptPromise keys(ScriptState*); |
ScriptPromise keys(ScriptState*, Request*, const CacheQueryOptions&); |
- ScriptPromise keys(ScriptState*, const String&, const CacheQueryOptions&); |
+ ScriptPromise keys(ScriptState*, const String&, const CacheQueryOptions&, ExceptionState&); |
static PassRefPtrWillBeRawPtr<DOMException> domExceptionForCacheError(WebServiceWorkerCacheError); |