| Index: content/browser/ppapi_plugin_process_host.cc
|
| diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc
|
| index cb408af5b8491698cd49c61592b7059a4aabf91f..51eaadb5e7b910c0a186bc4088b35072fd5101b4 100644
|
| --- a/content/browser/ppapi_plugin_process_host.cc
|
| +++ b/content/browser/ppapi_plugin_process_host.cc
|
| @@ -384,10 +384,13 @@ bool PpapiPluginProcessHost::OnMessageReceived(const IPC::Message& msg) {
|
|
|
| // Called when the browser <--> plugin channel has been established.
|
| void PpapiPluginProcessHost::OnChannelConnected(int32 peer_pid) {
|
| + bool supports_dev_channel =
|
| + GetContentClient()->browser()->IsPluginAllowedToUseDevChannelAPIs();
|
| // This will actually load the plugin. Errors will actually not be reported
|
| // back at this point. Instead, the plugin will fail to establish the
|
| // connections when we request them on behalf of the renderer(s).
|
| - Send(new PpapiMsg_LoadPlugin(plugin_path_, permissions_));
|
| + Send(new PpapiMsg_LoadPlugin(plugin_path_, permissions_,
|
| + supports_dev_channel));
|
|
|
| // Process all pending channel requests from the renderers.
|
| for (size_t i = 0; i < pending_requests_.size(); i++)
|
|
|