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 38675c80c8b43cf1b736e683afc03421dce5baf1..79c602da8a6f2a39aafa4f617ed791a1a469b777 100644 |
--- a/content/browser/service_worker/embedded_worker_test_helper.h |
+++ b/content/browser/service_worker/embedded_worker_test_helper.h |
@@ -49,6 +49,11 @@ class EmbeddedWorkerTestHelper : public IPC::Sender, |
void SimulateAddProcess(int embedded_worker_id, int process_id); |
void SimulateRemoveProcess(int embedded_worker_id, int process_id); |
+ // Call to create a new worker and also associate a process to |
+ // it. Returns the new embedded worker id which can be used for |
+ // SimulateRemoveProcess. |
+ int SimulateCreateWorker(int process_id); |
+ |
// IPC::Sender implementation. |
virtual bool Send(IPC::Message* message) OVERRIDE; |