Index: content/browser/shared_worker/shared_worker_service_impl.h |
diff --git a/content/browser/shared_worker/shared_worker_service_impl.h b/content/browser/shared_worker/shared_worker_service_impl.h |
index 3c36f638e0afac12b9fbee246dab56f125da5f49..322817431add2eb001e392163f2795a10bd51b11 100644 |
--- a/content/browser/shared_worker/shared_worker_service_impl.h |
+++ b/content/browser/shared_worker/shared_worker_service_impl.h |
@@ -93,6 +93,12 @@ |
void NotifyWorkerDestroyed(int worker_process_id, int worker_route_id); |
+ // TODO(alokp): Remove after collecting crash data. |
+ // Temporary checks to verify that all shared workers are terminated. |
+ // It is suspected that shared workers prevent render process hosts |
+ // from shutting down: crbug.com/608049 |
+ void CheckAllWorkersTerminated(); |
+ |
private: |
class SharedWorkerPendingInstance; |
class SharedWorkerReserver; |