Index: content/browser/renderer_host/render_process_host.h |
=================================================================== |
--- content/browser/renderer_host/render_process_host.h (revision 110070) |
+++ content/browser/renderer_host/render_process_host.h (working copy) |
@@ -247,6 +247,9 @@ |
// that each host may not be active, and therefore may have NULL channels. |
static iterator AllHostsIterator(); |
+ // Returns the number of active RenderProcessHosts. |
+ static int AllHostsCount(); |
+ |
// Returns the RenderProcessHost given its ID. Returns NULL if the ID does |
// not correspond to a live RenderProcessHost. |
static RenderProcessHost* FromID(int render_process_id); |