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

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

Issue 2133813002: Check that all RenderProcessHost(s) are terminated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 6a74b4efbe5c4670a9c89ee13e08981c50bbf62d..9b239e3e7c53c3f06ec78e6c532cb1ef4207ae20 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -204,6 +204,9 @@ class CONTENT_EXPORT RenderProcessHostImpl
static void RegisterHost(int host_id, RenderProcessHost* host);
static void UnregisterHost(int host_id);
+ // Returns true if HasConnection() is true for any registered hosts.
+ static bool HasAnyConnection();
+
// Implementation of FilterURL below that can be shared with the mock class.
static void FilterURL(RenderProcessHost* rph, bool empty_allowed, GURL* url);

Powered by Google App Engine
This is Rietveld 408576698