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 #include "config.h" | 5 #include "config.h" |
6 #include "modules/serviceworkers/RespondWithObserver.h" | 6 #include "modules/serviceworkers/RespondWithObserver.h" |
7 | 7 |
8 #include "bindings/core/v8/ScriptFunction.h" | 8 #include "bindings/core/v8/ScriptFunction.h" |
9 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
10 #include "bindings/core/v8/ScriptValue.h" | 10 #include "bindings/core/v8/ScriptValue.h" |
11 #include "bindings/core/v8/V8Binding.h" | 11 #include "bindings/core/v8/V8Binding.h" |
12 #include "bindings/modules/v8/V8Response.h" | 12 #include "bindings/modules/v8/V8Response.h" |
13 #include "core/dom/ExecutionContext.h" | 13 #include "core/dom/ExecutionContext.h" |
14 #include "core/streams/Stream.h" | 14 #include "core/streams/Stream.h" |
15 #include "modules/serviceworkers/BodyStreamBuffer.h" | 15 #include "modules/fetch/BodyStreamBuffer.h" |
16 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" | 16 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" |
17 #include "platform/RuntimeEnabledFeatures.h" | 17 #include "platform/RuntimeEnabledFeatures.h" |
18 #include "public/platform/WebServiceWorkerResponse.h" | 18 #include "public/platform/WebServiceWorkerResponse.h" |
19 #include "wtf/Assertions.h" | 19 #include "wtf/Assertions.h" |
20 #include "wtf/RefPtr.h" | 20 #include "wtf/RefPtr.h" |
21 #include <v8.h> | 21 #include <v8.h> |
22 | 22 |
23 namespace blink { | 23 namespace blink { |
24 namespace { | 24 namespace { |
25 | 25 |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 RespondWithObserver::RespondWithObserver(ExecutionContext* context, int eventID,
WebURLRequest::FetchRequestMode requestMode, WebURLRequest::FrameType frameType
) | 228 RespondWithObserver::RespondWithObserver(ExecutionContext* context, int eventID,
WebURLRequest::FetchRequestMode requestMode, WebURLRequest::FrameType frameType
) |
229 : ContextLifecycleObserver(context) | 229 : ContextLifecycleObserver(context) |
230 , m_eventID(eventID) | 230 , m_eventID(eventID) |
231 , m_requestMode(requestMode) | 231 , m_requestMode(requestMode) |
232 , m_frameType(frameType) | 232 , m_frameType(frameType) |
233 , m_state(Initial) | 233 , m_state(Initial) |
234 { | 234 { |
235 } | 235 } |
236 | 236 |
237 } // namespace blink | 237 } // namespace blink |
OLD | NEW |