Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Unified Diff: remoting/host/daemon_process.cc

Issue 2451953002: Use ChannelMojo between the remoting network and desktop processes. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/daemon_process.cc
diff --git a/remoting/host/daemon_process.cc b/remoting/host/daemon_process.cc
index cc9f76cdb0fceb0508c1527550add0ff76a98c05..0e91bb9810aefd22297ec9a27cbfc522691f78b3 100644
--- a/remoting/host/daemon_process.cc
+++ b/remoting/host/daemon_process.cc
@@ -15,7 +15,6 @@
#include "base/files/file_util.h"
#include "base/location.h"
#include "base/single_thread_task_runner.h"
-#include "ipc/attachment_broker_privileged.h"
#include "remoting/base/auto_thread_task_runner.h"
#include "remoting/host/branding.h"
#include "remoting/host/chromoting_messages.h"
@@ -183,12 +182,9 @@ DaemonProcess::DaemonProcess(
stopped_callback_(stopped_callback),
weak_factory_(this) {
DCHECK(caller_task_runner->BelongsToCurrentThread());
-
- // TODO(sergeyu): On OSX AttachmentBroker depends on base::PortProvider
- // implementation. Add it here when this code is used on OSX.
-#if !defined(OS_MACOSX)
- IPC::AttachmentBrokerPrivileged::CreateBrokerIfNeeded();
-#endif // !defined(OS_MACOSX)
+ // TODO(sergeyu): On OSX, mojo::edk::SetMachPortProvider() should be called
joedow 2016/10/31 16:41:03 Since you are updating the contents of the TODO, i
Sam McNally 2016/10/31 22:34:27 Done.
+ // with a base::PortProvider implementation. Add it here when this code is
+ // used on OSX.
}
void DaemonProcess::CreateDesktopSession(int terminal_id,

Powered by Google App Engine
This is Rietveld 408576698