Index: content/ppapi_plugin/ppapi_thread.h |
diff --git a/content/ppapi_plugin/ppapi_thread.h b/content/ppapi_plugin/ppapi_thread.h |
index 44c1cebfff1fd3e0d89efa3b6ee75dae2a5217ee..a3b322bb7aa6a07bca4082174d29f60f9aeb30f4 100644 |
--- a/content/ppapi_plugin/ppapi_thread.h |
+++ b/content/ppapi_plugin/ppapi_thread.h |
@@ -110,12 +110,14 @@ class PpapiThread : public ChildThreadImpl, |
void OnCrash(); |
void OnHang(); |
- // Sets up the channel to the given renderer. On success, returns true and |
- // fills the given ChannelHandle with the information from the new channel. |
- bool SetupRendererChannel(base::ProcessId renderer_pid, |
- int renderer_child_id, |
- bool incognito, |
- IPC::ChannelHandle* handle); |
+ // Sets up the channel to the given renderer. If |renderer_pid| is |
+ // base::kNullProcessId, the channel is set up to the browser. On success, |
+ // returns true and fills the given ChannelHandle with the information from |
+ // the new channel. |
+ bool SetupChannel(base::ProcessId renderer_pid, |
+ int renderer_child_id, |
+ bool incognito, |
+ IPC::ChannelHandle* handle); |
// Sets up the name of the plugin for logging using the given path. |
void SavePluginName(const base::FilePath& path); |