| 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 ServiceWorkerClient_h | 5 #ifndef ServiceWorkerClient_h |
| 6 #define ServiceWorkerClient_h | 6 #define ServiceWorkerClient_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "bindings/core/v8/ScriptPromise.h" | 9 #include "bindings/core/v8/ScriptPromise.h" |
| 9 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
| 10 #include "bindings/core/v8/SerializedScriptValue.h" | 11 #include "bindings/core/v8/SerializedScriptValue.h" |
| 11 #include "modules/ModulesExport.h" | 12 #include "modules/ModulesExport.h" |
| 12 #include "platform/heap/Handle.h" | 13 #include "platform/heap/Handle.h" |
| 13 #include "public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h" | 14 #include "public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h" |
| 14 #include "wtf/Forward.h" | 15 #include "wtf/Forward.h" |
| 15 #include <memory> | |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 class ScriptPromiseResolver; | 19 class ScriptPromiseResolver; |
| 20 class ScriptState; | 20 class ScriptState; |
| 21 | 21 |
| 22 class MODULES_EXPORT ServiceWorkerClient | 22 class MODULES_EXPORT ServiceWorkerClient |
| 23 : public GarbageCollectedFinalized<ServiceWorkerClient>, | 23 : public GarbageCollectedFinalized<ServiceWorkerClient>, |
| 24 public ScriptWrappable { | 24 public ScriptWrappable { |
| 25 DEFINE_WRAPPERTYPEINFO(); | 25 DEFINE_WRAPPERTYPEINFO(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 54 | 54 |
| 55 private: | 55 private: |
| 56 String m_uuid; | 56 String m_uuid; |
| 57 String m_url; | 57 String m_url; |
| 58 WebURLRequest::FrameType m_frameType; | 58 WebURLRequest::FrameType m_frameType; |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 } // namespace blink | 61 } // namespace blink |
| 62 | 62 |
| 63 #endif // ServiceWorkerClient_h | 63 #endif // ServiceWorkerClient_h |
| OLD | NEW |