| 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 9a308316dbff06bd4cf45309d998ed66bca2ca29..1a7ea7e454afd092be57e977698a4f9a3d7d0ab6 100644
|
| --- a/content/browser/service_worker/embedded_worker_test_helper.h
|
| +++ b/content/browser/service_worker/embedded_worker_test_helper.h
|
| @@ -75,7 +75,14 @@ class EmbeddedWorkerTestHelper : public IPC::Sender,
|
| ServiceWorkerContextWrapper* context_wrapper() { return wrapper_.get(); }
|
| void ShutdownContext();
|
|
|
| + int GetNextThreadId() { return next_thread_id_++; }
|
| +
|
| int mock_render_process_id() const { return mock_render_process_id_;}
|
| +
|
| + std::map<int, int64_t> embedded_worker_id_service_worker_version_id_map() {
|
| + return embedded_worker_id_service_worker_version_id_map_;
|
| + }
|
| +
|
| // Mock render process. Only set if the one-parameter constructor was used.
|
| MockRenderProcessHost* mock_render_process_host() {
|
| return render_process_host_.get();
|
| @@ -118,7 +125,7 @@ class EmbeddedWorkerTestHelper : public IPC::Sender,
|
| void SimulateWorkerScriptCached(int embedded_worker_id);
|
| void SimulateWorkerScriptLoaded(int embedded_worker_id);
|
| void SimulateWorkerThreadStarted(int thread_id, int embedded_worker_id);
|
| - void SimulateWorkerScriptEvaluated(int embedded_worker_id);
|
| + void SimulateWorkerScriptEvaluated(int embedded_worker_id, bool success);
|
| void SimulateWorkerStarted(int embedded_worker_id);
|
| void SimulateWorkerStopped(int embedded_worker_id);
|
| void SimulateSend(IPC::Message* message);
|
|
|