| Index: Source/modules/serviceworkers/FetchEvent.h
|
| diff --git a/Source/modules/serviceworkers/FetchEvent.h b/Source/modules/serviceworkers/FetchEvent.h
|
| index 4c4d4b27701e03d19cbc3516ab1757c43dc46f5d..70f48f2b2db6a91571477d95c11e2ec2f8a3ca12 100644
|
| --- a/Source/modules/serviceworkers/FetchEvent.h
|
| +++ b/Source/modules/serviceworkers/FetchEvent.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "modules/EventModules.h"
|
| #include "modules/fetch/Request.h"
|
| +#include "modules/serviceworkers/FetchEventInit.h"
|
| #include "modules/serviceworkers/RespondWithObserver.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| @@ -23,7 +24,8 @@ class FetchEvent final : public Event {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| static PassRefPtrWillBeRawPtr<FetchEvent> create();
|
| - static PassRefPtrWillBeRawPtr<FetchEvent> create(RespondWithObserver*, Request*);
|
| + static PassRefPtrWillBeRawPtr<FetchEvent> create(const AtomicString& type, const FetchEventInit&);
|
| + static PassRefPtrWillBeRawPtr<FetchEvent> create(const AtomicString& type, const FetchEventInit&, RespondWithObserver*);
|
|
|
| Request* request() const;
|
| bool isReload() const;
|
| @@ -32,13 +34,11 @@ public:
|
|
|
| virtual const AtomicString& interfaceName() const override;
|
|
|
| - void setIsReload(bool);
|
| -
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| protected:
|
| FetchEvent();
|
| - FetchEvent(RespondWithObserver*, Request*);
|
| + FetchEvent(const AtomicString& type, const FetchEventInit&, RespondWithObserver*);
|
|
|
| private:
|
| PersistentWillBeMember<RespondWithObserver> m_observer;
|
|
|