Chromium Code Reviews| Index: Source/modules/serviceworkers/RespondWithObserver.h |
| diff --git a/Source/modules/serviceworkers/RespondWithObserver.h b/Source/modules/serviceworkers/RespondWithObserver.h |
| index ebb46c42f87477e59ec31e16e99fe221726d9309..05a8a52eed1e69249d9a0151cf2413495acaa0c7 100644 |
| --- a/Source/modules/serviceworkers/RespondWithObserver.h |
| +++ b/Source/modules/serviceworkers/RespondWithObserver.h |
| @@ -23,7 +23,7 @@ class ScriptValue; |
| class MODULES_EXPORT RespondWithObserver final : public GarbageCollectedFinalized<RespondWithObserver>, public ContextLifecycleObserver { |
| WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(RespondWithObserver); |
| public: |
| - static RespondWithObserver* create(ExecutionContext*, int eventID, WebURLRequest::FetchRequestMode, WebURLRequest::FrameType); |
| + static RespondWithObserver* create(ExecutionContext*, int eventID, const KURL& requestURL, WebURLRequest::FetchRequestMode, WebURLRequest::FrameType); |
| virtual void contextDestroyed() override; |
| @@ -41,9 +41,10 @@ public: |
| private: |
| class ThenFunction; |
| - RespondWithObserver(ExecutionContext*, int eventID, WebURLRequest::FetchRequestMode, WebURLRequest::FrameType); |
| + RespondWithObserver(ExecutionContext*, int eventID, const KURL&, WebURLRequest::FetchRequestMode, WebURLRequest::FrameType); |
|
falken
2015/07/14 12:58:55
probably should write requestURL here too
horo
2015/07/15 02:32:10
Done.
|
| int m_eventID; |
| + KURL m_requestURL; |
| WebURLRequest::FetchRequestMode m_requestMode; |
| WebURLRequest::FrameType m_frameType; |