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 "bindings/core/v8/ScriptPromise.h" | 8 #include "bindings/core/v8/ScriptPromise.h" |
9 #include "bindings/core/v8/ScriptWrappable.h" | 9 #include "bindings/core/v8/ScriptWrappable.h" |
10 #include "bindings/core/v8/SerializedScriptValue.h" | 10 #include "bindings/core/v8/SerializedScriptValue.h" |
11 #include "modules/ModulesExport.h" | 11 #include "modules/ModulesExport.h" |
12 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
13 #include "public/platform/WebServiceWorkerClientsInfo.h" | 13 #include "public/platform/modules/serviceworker/WebServiceWorkerClientsInfo.h" |
14 #include "wtf/Forward.h" | 14 #include "wtf/Forward.h" |
15 | 15 |
16 namespace blink { | 16 namespace blink { |
17 | 17 |
18 class ExecutionContext; | 18 class ExecutionContext; |
19 class ScriptState; | 19 class ScriptState; |
20 | 20 |
21 class MODULES_EXPORT ServiceWorkerClient : public GarbageCollectedFinalized<Serv
iceWorkerClient>, public ScriptWrappable { | 21 class MODULES_EXPORT ServiceWorkerClient : public GarbageCollectedFinalized<Serv
iceWorkerClient>, public ScriptWrappable { |
22 DEFINE_WRAPPERTYPEINFO(); | 22 DEFINE_WRAPPERTYPEINFO(); |
23 public: | 23 public: |
(...skipping 16 matching lines...) Expand all Loading... |
40 | 40 |
41 private: | 41 private: |
42 String m_uuid; | 42 String m_uuid; |
43 String m_url; | 43 String m_url; |
44 WebURLRequest::FrameType m_frameType; | 44 WebURLRequest::FrameType m_frameType; |
45 }; | 45 }; |
46 | 46 |
47 } // namespace blink | 47 } // namespace blink |
48 | 48 |
49 #endif // ServiceWorkerClient_h | 49 #endif // ServiceWorkerClient_h |
OLD | NEW |