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

Unified Diff: content/browser/service_worker/embedded_worker_test_helper.h

Issue 2638313002: Manage ServiceWorkerDispatcherHost in ServiceWorkerContextCore (Closed)
Patch Set: Rebased Created 3 years, 10 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/embedded_worker_test_helper.h
diff --git a/content/browser/service_worker/embedded_worker_test_helper.h b/content/browser/service_worker/embedded_worker_test_helper.h
index fe94ff1a2eea7240bde5b9d42c6df01cff386cd2..b06dd55b62daa0985d8f3728111db16bd408bb35 100644
--- a/content/browser/service_worker/embedded_worker_test_helper.h
+++ b/content/browser/service_worker/embedded_worker_test_helper.h
@@ -41,6 +41,7 @@ class MessagePortMessageFilter;
class MockRenderProcessHost;
class ServiceWorkerContextCore;
class ServiceWorkerContextWrapper;
+class ServiceWorkerDispatcherHost;
class TestBrowserContext;
struct EmbeddedWorkerStartParams;
struct PushEventPayload;
@@ -268,6 +269,9 @@ class EmbeddedWorkerTestHelper : public IPC::Sender,
int mock_render_process_id_;
int new_mock_render_process_id_;
+ std::map<int /* process_id */, scoped_refptr<ServiceWorkerDispatcherHost>>
+ dispatcher_hosts_;
+
std::unique_ptr<service_manager::InterfaceRegistry>
render_process_interface_registry_;
std::unique_ptr<service_manager::InterfaceRegistry>

Powered by Google App Engine
This is Rietveld 408576698