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); |