OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef RespondWithObserver_h | 5 #ifndef RespondWithObserver_h |
6 #define RespondWithObserver_h | 6 #define RespondWithObserver_h |
7 | 7 |
8 #include "core/dom/ContextLifecycleObserver.h" | 8 #include "core/dom/ContextLifecycleObserver.h" |
9 #include "core/events/EventTarget.h" | 9 #include "core/events/EventTarget.h" |
10 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
46 RespondWithObserver(ExecutionContext*, int eventID, const KURL& requestURL, WebURLRequest::FetchRequestMode, WebURLRequest::FrameType, WebURLRequest::Reques tContext); | 46 RespondWithObserver(ExecutionContext*, int eventID, const KURL& requestURL, WebURLRequest::FetchRequestMode, WebURLRequest::FrameType, WebURLRequest::Reques tContext); |
47 | 47 |
48 private: | 48 private: |
49 class ThenFunction; | 49 class ThenFunction; |
50 | 50 |
51 int m_eventID; | 51 int m_eventID; |
52 KURL m_requestURL; | 52 KURL m_requestURL; |
53 WebURLRequest::FetchRequestMode m_requestMode; | 53 WebURLRequest::FetchRequestMode m_requestMode; |
54 WebURLRequest::FrameType m_frameType; | 54 WebURLRequest::FrameType m_frameType; |
55 WebURLRequest::RequestContext m_requestContext; | 55 WebURLRequest::RequestContext m_requestContext; |
56 RefPtr<ScriptState> m_scriptState; | |
tyoshino (SeeGerritForStatus)
2016/04/22 07:53:01
for what?
yhirano
2016/04/22 08:04:42
It's no long used. Deleted.
| |
56 | 57 |
57 enum State { Initial, Pending, Done }; | 58 enum State { Initial, Pending, Done }; |
58 State m_state; | 59 State m_state; |
59 }; | 60 }; |
60 | 61 |
61 } // namespace blink | 62 } // namespace blink |
62 | 63 |
63 #endif // RespondWithObserver_h | 64 #endif // RespondWithObserver_h |
OLD | NEW |