Chromium Code Reviews| Index: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h |
| diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h |
| index 4b8c565edbc49ab90c28183cf91ca6a8bc4c2700..35b021cf75e39995e480f71aa3cf708b90733e38 100644 |
| --- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h |
| +++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h |
| @@ -51,6 +51,7 @@ class WebServiceWorkerNetworkProvider; |
| class WebServiceWorkerProvider; |
| class WebServiceWorkerResponse; |
| class WebString; |
| +class WebWorkerFetchContext; |
| // This interface is implemented by the client. It is supposed to be created |
| // on the main thread and then passed on to the worker thread by a newly |
| @@ -232,6 +233,10 @@ class WebServiceWorkerContextClient { |
| return nullptr; |
| } |
| + virtual blink::WebWorkerFetchContext* CreateServiceWorkerFetchContext() { |
|
kinuko
2017/04/18 08:35:37
nit: please add a method comment here too
horo
2017/04/18 12:53:35
Done.
|
| + return nullptr; |
| + } |
| + |
| // Ownership of the returned object is transferred to the caller. |
| // This is called on the main thread. |
| virtual WebServiceWorkerProvider* CreateServiceWorkerProvider() { |