| Index: Source/modules/serviceworkers/RespondWithObserver.h
|
| diff --git a/Source/modules/serviceworkers/RespondWithObserver.h b/Source/modules/serviceworkers/RespondWithObserver.h
|
| index 74c0766ec91dbcb528ccb78f4ea1e90f8ce0241e..0e12cd3a65292f4c1696daaab6fe3309604b225b 100644
|
| --- a/Source/modules/serviceworkers/RespondWithObserver.h
|
| +++ b/Source/modules/serviceworkers/RespondWithObserver.h
|
| @@ -15,6 +15,7 @@ namespace blink {
|
|
|
| class ExceptionState;
|
| class ExecutionContext;
|
| +class ScriptPromise;
|
| class ScriptState;
|
| class ScriptValue;
|
|
|
| @@ -31,7 +32,7 @@ public:
|
|
|
| // Observes the promise and delays calling didHandleFetchEvent() until the
|
| // given promise is resolved or rejected.
|
| - void respondWith(ScriptState*, const ScriptValue&, ExceptionState&);
|
| + void respondWith(ScriptState*, ScriptPromise&, ExceptionState&);
|
|
|
| void responseWasRejected(WebServiceWorkerResponseError);
|
| void responseWasFulfilled(const ScriptValue&);
|
|
|