Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / serviceworkers / ServiceWorkerClients.h
index 8198009..8389bed 100644 (file)
@@ -6,6 +6,7 @@
 #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"
@@ -17,13 +18,13 @@ class ScriptPromise;
 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*) { }