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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2222063002: Check that all shared workers are terminated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index bccbbcc1f1f200bc35be94bb0661348bc918e5ce..ea908d89ac7f559c72b9150b41be2025459809c2 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -244,6 +244,12 @@ class CONTENT_EXPORT RenderProcessHostImpl
static void RegisterRendererMainThreadFactory(
RendererMainThreadFactoryFunction create);
+ // TODO(alokp): Remove after collecting crash data.
+ // Temporary checks to verify that all shared workers are terminated.
horo 2016/08/09 04:03:24 Nit: s/shared workers/shared workers and service w
+ // It is suspected that shared workers prevent render process hosts
+ // from shutting down: crbug.com/608049
+ static void CheckAllWorkersTerminated();
+
#if defined(OS_ANDROID)
const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() {
return browser_demuxer_android_;

Powered by Google App Engine
This is Rietveld 408576698