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 4833f16c672b70dd2bb14a661ab62eb4a70a32cf..dd5e3674d9ed535c3f5967559ea5a74f1a1849ff 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -220,6 +220,11 @@ class CONTENT_EXPORT RenderProcessHostImpl |
static void RegisterRendererMainThreadFactory( |
RendererMainThreadFactoryFunction create); |
+ // Gets the next available routing id of the proccess on IO thread. |
kinuko
2014/04/28 07:09:52
Please explicitly note that this method needs to b
horo
2014/04/28 07:29:42
Done.
|
+ // Returns MSG_ROUTING_NONE if failed. |
+ // If the caller is on UI thread it can directly call GetNextRoutingID. |
+ static int GetNextRoutingIDForProcess(int render_process_id); |
+ |
#if defined(OS_ANDROID) |
const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() { |
return browser_demuxer_android_; |