Index: content/browser/service_worker/service_worker_request_handler_unittest.cc |
diff --git a/content/browser/service_worker/service_worker_request_handler_unittest.cc b/content/browser/service_worker/service_worker_request_handler_unittest.cc |
index d8f8d190c8f27d5e223276cad71e6e4bb02c15bf..c08c4cdebce3b3bd1b73a450e41078eba325176b 100644 |
--- a/content/browser/service_worker/service_worker_request_handler_unittest.cc |
+++ b/content/browser/service_worker/service_worker_request_handler_unittest.cc |
@@ -43,9 +43,10 @@ class ServiceWorkerRequestHandlerTest : public testing::Test { |
// An empty host. |
std::unique_ptr<ServiceWorkerProviderHost> host = |
- CreateProviderHostForWindow( |
- helper_->mock_render_process_id(), kMockProviderId, |
- true /* is_parent_frame_secure */, context()->AsWeakPtr()); |
+ CreateProviderHostForWindow(helper_->mock_render_process_id(), |
+ kMockProviderId, |
+ true /* is_parent_frame_secure */, |
+ context()->AsWeakPtr(), &remote_endpoint_); |
provider_host_ = host->AsWeakPtr(); |
context()->AddProviderHost(std::move(host)); |
} |
@@ -109,6 +110,7 @@ class ServiceWorkerRequestHandlerTest : public testing::Test { |
net::URLRequestContext url_request_context_; |
net::TestDelegate url_request_delegate_; |
storage::BlobStorageContext blob_storage_context_; |
+ ServiceWorkerRemoteProviderEndpoint remote_endpoint_; |
}; |
TEST_F(ServiceWorkerRequestHandlerTest, InitializeHandler_FTP) { |