Chromium Code Reviews| Index: remoting/host/daemon_process.cc |
| diff --git a/remoting/host/daemon_process.cc b/remoting/host/daemon_process.cc |
| index 1d5fcd466126eebedea36d9a874a69a5982378f7..b0a8228861a7cdc3eb6788db8bd37461c1c3b990 100644 |
| --- a/remoting/host/daemon_process.cc |
| +++ b/remoting/host/daemon_process.cc |
| @@ -15,6 +15,7 @@ |
| #include "base/files/file_util.h" |
| #include "base/location.h" |
| #include "base/single_thread_task_runner.h" |
| +#include "ipc/attachment_broker_privileged.h" |
| #include "net/base/net_util.h" |
| #include "remoting/base/auto_thread_task_runner.h" |
| #include "remoting/host/branding.h" |
| @@ -183,6 +184,8 @@ DaemonProcess::DaemonProcess( |
| stopped_callback_(stopped_callback), |
| weak_factory_(this) { |
| DCHECK(caller_task_runner->BelongsToCurrentThread()); |
| + |
| + IPC::AttachmentBrokerPrivileged::CreateBrokerIfNeeded(); |
|
joedow
2016/01/26 21:42:51
It looks like this method has different args for O
erikchen
2016/01/26 21:47:00
Oh, yes. The Chrome browser process, on Mac, has a
Sergey Ulanov
2016/01/27 01:38:39
There are some files like this one that are compil
Sergey Ulanov
2016/01/27 01:43:02
We are not using this code on OSX.
Updated this c
erikchen
2016/01/27 15:16:41
If this code isn't being used on OSX, why is it be
Sergey Ulanov
2016/01/27 18:29:12
The goal is to implement multi-process host on OSX
|
| } |
| void DaemonProcess::CreateDesktopSession(int terminal_id, |