| 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 0b5e447d09549c35f14ba048b39a96495a18631b..478f476f36d1370785b56029fe2e4173c588db02 100644
|
| --- a/content/browser/ppapi_plugin_process_host.cc
|
| +++ b/content/browser/ppapi_plugin_process_host.cc
|
| @@ -31,6 +31,7 @@
|
| #include "content/public/common/sandbox_type.h"
|
| #include "content/public/common/sandboxed_process_launcher_delegate.h"
|
| #include "ipc/ipc_switches.h"
|
| +#include "mojo/edk/embedder/embedder.h"
|
| #include "net/base/network_change_notifier.h"
|
| #include "ppapi/proxy/ppapi_messages.h"
|
| #include "ui/base/ui_base_switches.h"
|
| @@ -327,7 +328,7 @@ PpapiPluginProcessHost::PpapiPluginProcessHost(
|
| permissions_ = ppapi::PpapiPermissions::GetForCommandLine(base_permissions);
|
|
|
| process_.reset(new BrowserChildProcessHostImpl(
|
| - PROCESS_TYPE_PPAPI_PLUGIN, this));
|
| + PROCESS_TYPE_PPAPI_PLUGIN, this, mojo::edk::GenerateRandomToken()));
|
|
|
| host_impl_.reset(new BrowserPpapiHostImpl(this, permissions_, info.name,
|
| info.path, profile_data_directory,
|
| @@ -351,7 +352,7 @@ PpapiPluginProcessHost::PpapiPluginProcessHost(
|
| PpapiPluginProcessHost::PpapiPluginProcessHost()
|
| : is_broker_(true) {
|
| process_.reset(new BrowserChildProcessHostImpl(
|
| - PROCESS_TYPE_PPAPI_BROKER, this));
|
| + PROCESS_TYPE_PPAPI_BROKER, this, mojo::edk::GenerateRandomToken()));
|
|
|
| ppapi::PpapiPermissions permissions; // No permissions.
|
| // The plugin name, path and profile data directory shouldn't be needed for
|
|
|