| Index: content/ppapi_plugin/ppapi_thread.cc
|
| diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc
|
| index f0db1561447c5cb8025c39dbfd2c4f69923ae304..2af3fed6ab88538f406a9eb4c62b157bff31cac1 100644
|
| --- a/content/ppapi_plugin/ppapi_thread.cc
|
| +++ b/content/ppapi_plugin/ppapi_thread.cc
|
| @@ -199,7 +199,8 @@ void PpapiThread::Unregister(uint32 plugin_dispatcher_id) {
|
| }
|
|
|
| void PpapiThread::OnLoadPlugin(const base::FilePath& path,
|
| - const ppapi::PpapiPermissions& permissions) {
|
| + const ppapi::PpapiPermissions& permissions,
|
| + bool supports_dev_channel) {
|
| // In case of crashes, the crash dump doesn't indicate which plugin
|
| // it came from.
|
| base::debug::SetCrashKeyValue("ppapi_path", path.MaybeAsASCII());
|
| @@ -209,6 +210,7 @@ void PpapiThread::OnLoadPlugin(const base::FilePath& path,
|
| // This must be set before calling into the plugin so it can get the
|
| // interfaces it has permission for.
|
| ppapi::proxy::InterfaceList::SetProcessGlobalPermissions(permissions);
|
| + ppapi::proxy::InterfaceList::SetSupportsDevChannel(supports_dev_channel);
|
| permissions_ = permissions;
|
|
|
| // Trusted Pepper plugins may be "internal", i.e. built-in to the browser
|
|
|