Index: third_party/WebKit/Source/modules/serviceworkers/RespondWithObserver.h |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/RespondWithObserver.h b/third_party/WebKit/Source/modules/serviceworkers/RespondWithObserver.h |
index 4153e44bf733c07c60ab6ed58a1e6f0fc348a47d..7fa821374467cd8a1fac9df5dd0dc9aa874765d0 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/RespondWithObserver.h |
+++ b/third_party/WebKit/Source/modules/serviceworkers/RespondWithObserver.h |
@@ -6,6 +6,7 @@ |
#define RespondWithObserver_h |
#include "core/dom/ContextLifecycleObserver.h" |
+#include "core/events/EventTarget.h" |
#include "modules/ModulesExport.h" |
#include "platform/heap/Handle.h" |
#include "public/platform/WebURLRequest.h" |
@@ -28,7 +29,7 @@ public: |
void contextDestroyed() override; |
- void didDispatchEvent(bool defaultPrevented); |
+ void didDispatchEvent(DispatchEventResult dispatchResult); |
// Observes the promise and delays calling didHandleFetchEvent() until the |
// given promise is resolved or rejected. |