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
3 // found in the LICENSE file.
5 #ifndef ServiceWorkerClients_h
6 #define ServiceWorkerClients_h
8 #include "bindings/v8/ScriptWrappable.h"
9 #include "public/platform/WebServiceWorkerClientsInfo.h"
10 #include "wtf/Forward.h"
15 class ExecutionContext;
19 class ServiceWorkerClients FINAL : public RefCounted<ServiceWorkerClients>, public ScriptWrappable {
21 static PassRefPtr<ServiceWorkerClients> create();
22 ~ServiceWorkerClients();
24 // ServiceWorkerClients.idl
25 ScriptPromise getServiced(ExecutionContext*);
28 ServiceWorkerClients();
31 } // namespace WebCore
33 #endif // ServiceWorkerClients_h