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

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

Issue 8597005: Provide a way for RenderProcessHosts to register themselves in the global host map. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
===================================================================
--- content/browser/renderer_host/render_process_host_impl.h (revision 110616)
+++ content/browser/renderer_host/render_process_host_impl.h (working copy)
@@ -115,6 +115,11 @@
child_process_activity_time_ = base::TimeTicks::Now();
}
+ // Register/unregister the host identified by the host id in the global host
+ // list.
+ static void RegisterHost(int host_id, content::RenderProcessHost* host);
+ static void UnregisterHost(int host_id);
+
protected:
// A proxy for our IPC::Channel that lives on the IO thread (see
// browser_process.h)
« no previous file with comments | « content/browser/renderer_host/mock_render_process_host.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