| 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 "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| 11 #include "public/platform/WebServiceWorkerResponseError.h" | |
| 12 #include "public/platform/WebURLRequest.h" | 11 #include "public/platform/WebURLRequest.h" |
| 12 #include "public/platform/modules/serviceworker/WebServiceWorkerResponseError.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class ExceptionState; | 16 class ExceptionState; |
| 17 class ExecutionContext; | 17 class ExecutionContext; |
| 18 class ScriptPromise; | 18 class ScriptPromise; |
| 19 class ScriptState; | 19 class ScriptState; |
| 20 class ScriptValue; | 20 class ScriptValue; |
| 21 | 21 |
| 22 // This class observes the service worker's handling of a FetchEvent and | 22 // This class observes the service worker's handling of a FetchEvent and |
| (...skipping 27 matching lines...) Expand all Loading... |
| 50 WebURLRequest::FrameType m_frameType; | 50 WebURLRequest::FrameType m_frameType; |
| 51 WebURLRequest::RequestContext m_requestContext; | 51 WebURLRequest::RequestContext m_requestContext; |
| 52 | 52 |
| 53 enum State { Initial, Pending, Done }; | 53 enum State { Initial, Pending, Done }; |
| 54 State m_state; | 54 State m_state; |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace blink | 57 } // namespace blink |
| 58 | 58 |
| 59 #endif // RespondWithObserver_h | 59 #endif // RespondWithObserver_h |
| OLD | NEW |