Chromium Code Reviews| Index: Source/modules/serviceworkers/ServiceWorkerWindowClient.h |
| diff --git a/Source/modules/serviceworkers/ServiceWorkerWindowClient.h b/Source/modules/serviceworkers/ServiceWorkerWindowClient.h |
| index 57feb92377f080227c562287cef10d3b97c73085..11792efd055c52757ebab7bd1fb1bc798cb90587 100644 |
| --- a/Source/modules/serviceworkers/ServiceWorkerWindowClient.h |
| +++ b/Source/modules/serviceworkers/ServiceWorkerWindowClient.h |
| @@ -12,11 +12,18 @@ |
| namespace blink { |
| +class ScriptPromiseResolver; |
| class ScriptState; |
| class ServiceWorkerWindowClient final : public ServiceWorkerClient { |
| DEFINE_WRAPPERTYPEINFO(); |
| public: |
| + // To be used by CallbackPromiseAdapter. |
| + typedef blink::WebServiceWorkerClientInfo WebType; |
|
Michael van Ouwerkerk
2015/01/30 14:56:28
nit: omit namespace
mlamouri (slow - plz ping)
2015/02/02 16:09:26
Done.
|
| + |
| + static ServiceWorkerWindowClient* take(ScriptPromiseResolver*, WebType*); |
| + static void dispose(WebType*); |
| + |
| static ServiceWorkerWindowClient* create(const WebServiceWorkerClientInfo&); |
| ~ServiceWorkerWindowClient() override; |