Index: content/browser/service_worker/embedded_worker_instance.h |
diff --git a/content/browser/service_worker/embedded_worker_instance.h b/content/browser/service_worker/embedded_worker_instance.h |
index 01e2b02e183766bab42d9b9fce9212caa2f43793..3152613ed3880f16bb4257d6a749902629d2d872 100644 |
--- a/content/browser/service_worker/embedded_worker_instance.h |
+++ b/content/browser/service_worker/embedded_worker_instance.h |
@@ -114,9 +114,8 @@ class CONTENT_EXPORT EmbeddedWorkerInstance { |
// Stops the worker. It is invalid to call this when the worker is |
// not in STARTING or RUNNING status. |
- // This returns false if stopping a worker fails immediately, e.g. when |
- // IPC couldn't be sent to the worker. |
- ServiceWorkerStatusCode Stop(); |
+ // This returns false when StopWorker IPC couldn't be sent to the worker. |
+ bool Stop(); |
// Stops the worker if the worker is not being debugged (i.e. devtools is |
// not attached). This method is called by a stop-worker timer to kill |