#define ServiceWorkerClients_h
#include "bindings/core/v8/ScriptWrappable.h"
+#include "modules/serviceworkers/ServiceWorkerClientQueryParams.h"
#include "platform/heap/Handle.h"
#include "public/platform/WebServiceWorkerClientsInfo.h"
#include "wtf/Forward.h"
class ScriptState;
class ServiceWorkerClient;
-class ServiceWorkerClients FINAL : public RefCountedWillBeGarbageCollected<ServiceWorkerClients>, public ScriptWrappable {
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ServiceWorkerClients);
+class ServiceWorkerClients FINAL : public GarbageCollected<ServiceWorkerClients>, public ScriptWrappable {
+ DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<ServiceWorkerClients> create();
+ static ServiceWorkerClients* create();
// ServiceWorkerClients.idl
- ScriptPromise getServiced(ScriptState*);
+ ScriptPromise getAll(ScriptState*, const ServiceWorkerClientQueryParams&);
void trace(Visitor*) { }