| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h
|
| index d4fd0708dc6533d3e1faae1ca477dd9d0410dd1c..a19bbf8a6065341facd15a3e23e6d069af765dc2 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h
|
| @@ -16,11 +16,17 @@
|
| namespace blink {
|
|
|
| class ExecutionContext;
|
| +class ScriptPromiseResolver;
|
| class ScriptState;
|
|
|
| class MODULES_EXPORT ServiceWorkerClient : public GarbageCollectedFinalized<ServiceWorkerClient>, public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| + // To be used by CallbackPromiseAdapter.
|
| + using WebType = OwnPtr<WebServiceWorkerClientInfo>;
|
| +
|
| + static ServiceWorkerClient* take(ScriptPromiseResolver*, PassOwnPtr<WebServiceWorkerClientInfo>);
|
| +
|
| static ServiceWorkerClient* create(const WebServiceWorkerClientInfo&);
|
|
|
| virtual ~ServiceWorkerClient();
|
|
|