Index: third_party/WebKit/public/web/WebSharedWorkerClient.h |
diff --git a/third_party/WebKit/public/web/WebSharedWorkerClient.h b/third_party/WebKit/public/web/WebSharedWorkerClient.h |
index 93ac90f52e40bf3689566bbf2b9fda00e4566d34..85feb8354b92db3be3a6a7fe8858c349d68f8051 100644 |
--- a/third_party/WebKit/public/web/WebSharedWorkerClient.h |
+++ b/third_party/WebKit/public/web/WebSharedWorkerClient.h |
@@ -67,7 +67,7 @@ class WebSharedWorkerClient { |
// Called on the main webkit thread in the worker process during |
// initialization. |
- virtual WebApplicationCacheHost* CreateApplicationCacheHost( |
+ virtual std::unique_ptr<WebApplicationCacheHost> CreateApplicationCacheHost( |
WebApplicationCacheHostClient*) = 0; |
// Called on the main thread during initialization. |
@@ -81,10 +81,8 @@ class WebSharedWorkerClient { |
// Called on the main thread during initialization. |
// Ownership of the returned object is transferred to the caller. |
nhiroki
2017/05/01 05:04:27
This ownership comment would be no longer useful.
|
- virtual WebServiceWorkerNetworkProvider* |
- CreateServiceWorkerNetworkProvider() { |
- return nullptr; |
- } |
+ virtual std::unique_ptr<WebServiceWorkerNetworkProvider> |
+ CreateServiceWorkerNetworkProvider() = 0; |
virtual void SendDevToolsMessage(int session_id, |
int call_id, |