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

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

Issue 2364113003: Reland of Check that all shared workers are terminated. (patchset #2 id:170001 of https://c… (Closed)
Patch Set: Created 4 years, 3 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 6299146abbc0a93183d4dd1a626d6e986f5af267..60994e910cacea09268c7dce2b51c1766db0d770 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -250,6 +250,12 @@
static void RegisterRendererMainThreadFactory(
RendererMainThreadFactoryFunction create);
+ // 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
+ static void CheckAllWorkersTerminated();
+
#if defined(OS_ANDROID)
const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() {
return browser_demuxer_android_;
« no previous file with comments | « content/browser/browser_process_sub_thread.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698