X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fmodules%2Fserviceworkers%2FServiceWorkerClients.h;h=8389bed4dfd2d29fc071e9a6dc6472db04f83f4a;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=819800993292b22a66135255a8801b2340bfff1d;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.h b/src/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.h index 8198009..8389bed 100644 --- a/src/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.h +++ b/src/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.h @@ -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, public ScriptWrappable { - DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ServiceWorkerClients); +class ServiceWorkerClients FINAL : public GarbageCollected, public ScriptWrappable { + DEFINE_WRAPPERTYPEINFO(); public: - static PassRefPtrWillBeRawPtr create(); + static ServiceWorkerClients* create(); // ServiceWorkerClients.idl - ScriptPromise getServiced(ScriptState*); + ScriptPromise getAll(ScriptState*, const ServiceWorkerClientQueryParams&); void trace(Visitor*) { }