Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1025)

Unified Diff: content/browser/service_worker/service_worker_handle_unittest.cc

Issue 2653493009: Add two interfaces for ServiceWorkerProviderContext/ProviderHost (Closed)
Patch Set: Addressed comments from falken Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/service_worker/service_worker_handle_unittest.cc
diff --git a/content/browser/service_worker/service_worker_handle_unittest.cc b/content/browser/service_worker/service_worker_handle_unittest.cc
index 4a76ba5d5b96f92259bfe60858adcf2e8e577826..f3cdc096996ce197f1edbda929c0b4855a5d3b29 100644
--- a/content/browser/service_worker/service_worker_handle_unittest.cc
+++ b/content/browser/service_worker/service_worker_handle_unittest.cc
@@ -113,8 +113,8 @@ class ServiceWorkerHandleTest : public testing::Test {
provider_host_ = CreateProviderHostWithDispatcherHost(
helper_->mock_render_process_id(), 1 /* provider_id */,
- helper_->context()->AsWeakPtr(), kRenderFrameId,
- dispatcher_host_.get());
+ helper_->context()->AsWeakPtr(), kRenderFrameId, dispatcher_host_.get(),
+ &remote_endpoint_);
helper_->SimulateAddProcessToPattern(pattern,
helper_->mock_render_process_id());
}
@@ -137,6 +137,7 @@ class ServiceWorkerHandleTest : public testing::Test {
scoped_refptr<ServiceWorkerRegistration> registration_;
scoped_refptr<ServiceWorkerVersion> version_;
scoped_refptr<TestingServiceWorkerDispatcherHost> dispatcher_host_;
+ ServiceWorkerRemoteProviderEndpoint remote_endpoint_;
private:
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerHandleTest);

Powered by Google App Engine
This is Rietveld 408576698