| 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 ServiceWorkerClients_h | 5 #ifndef ServiceWorkerClients_h |
| 6 #define ServiceWorkerClients_h | 6 #define ServiceWorkerClients_h |
| 7 | 7 |
| 8 #include "bindings/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "public/platform/WebServiceWorkerClientsInfo.h" | 9 #include "public/platform/WebServiceWorkerClientsInfo.h" |
| 10 #include "wtf/Forward.h" | 10 #include "wtf/Forward.h" |
| 11 | 11 |
| 12 namespace WebCore { | 12 namespace WebCore { |
| 13 | 13 |
| 14 class Client; | 14 class Client; |
| 15 class ExecutionContext; | 15 class ExecutionContext; |
| 16 class ScriptState; | 16 class ScriptState; |
| 17 class ScriptPromise; | 17 class ScriptPromise; |
| 18 | 18 |
| 19 class ServiceWorkerClients FINAL : public RefCounted<ServiceWorkerClients>, publ
ic ScriptWrappable { | 19 class ServiceWorkerClients FINAL : public RefCounted<ServiceWorkerClients>, publ
ic ScriptWrappable { |
| 20 public: | 20 public: |
| 21 static PassRefPtr<ServiceWorkerClients> create(); | 21 static PassRefPtr<ServiceWorkerClients> create(); |
| 22 ~ServiceWorkerClients(); | 22 ~ServiceWorkerClients(); |
| 23 | 23 |
| 24 // ServiceWorkerClients.idl | 24 // ServiceWorkerClients.idl |
| 25 ScriptPromise getServiced(ScriptState*); | 25 ScriptPromise getServiced(ScriptState*); |
| 26 | 26 |
| 27 private: | 27 private: |
| 28 ServiceWorkerClients(); | 28 ServiceWorkerClients(); |
| 29 }; | 29 }; |
| 30 | 30 |
| 31 } // namespace WebCore | 31 } // namespace WebCore |
| 32 | 32 |
| 33 #endif // ServiceWorkerClients_h | 33 #endif // ServiceWorkerClients_h |
| OLD | NEW |