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

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

Issue 2638313002: Manage ServiceWorkerDispatcherHost in ServiceWorkerContextCore (Closed)
Patch Set: Rebase 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 96dacef717c04e671bb9b78405805413915311e3..9a8af6542d3071764196204c33c8ea210c5ea561 100644
--- a/content/browser/service_worker/embedded_worker_test_helper.h
+++ b/content/browser/service_worker/embedded_worker_test_helper.h
@@ -40,6 +40,7 @@ class EmbeddedWorkerTestHelper;
class MockRenderProcessHost;
class ServiceWorkerContextCore;
class ServiceWorkerContextWrapper;
+class ServiceWorkerDispatcherHost;
class TestBrowserContext;
struct EmbeddedWorkerStartParams;
struct PlatformNotificationData;
@@ -297,6 +298,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