diff options
author | erikchen <erikchen@chromium.org> | 2015-09-23 20:26:38 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-24 03:28:27 +0000 |
commit | 30dc2811d9c106d733cea51f5600875cacba2f80 (patch) | |
tree | b867453e48f95aed038868096f4b57b755acc7a7 /remoting/host/desktop_session_proxy.cc | |
parent | 3a2ac1dd9e42e314c77300864c108ea8be51aadd (diff) | |
download | chromium_src-30dc2811d9c106d733cea51f5600875cacba2f80.zip chromium_src-30dc2811d9c106d733cea51f5600875cacba2f80.tar.gz chromium_src-30dc2811d9c106d733cea51f5600875cacba2f80.tar.bz2 |
ipc: Remove unnecessary attachment broker plumbing.
The original design was to pass around an instance of an attachment broker. The
new design uses a single global, and no longer needs any plumbing. This CL
removes the last vestiges of the plumbing.
BUG=493414
Review URL: https://codereview.chromium.org/1354973006
Cr-Commit-Position: refs/heads/master@{#350471}
Diffstat (limited to 'remoting/host/desktop_session_proxy.cc')
-rw-r--r-- | remoting/host/desktop_session_proxy.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/remoting/host/desktop_session_proxy.cc b/remoting/host/desktop_session_proxy.cc index 54399d9..ba098f6 100644 --- a/remoting/host/desktop_session_proxy.cc +++ b/remoting/host/desktop_session_proxy.cc @@ -265,10 +265,8 @@ bool DesktopSessionProxy::AttachToDesktop( // Connect to the desktop process. desktop_channel_ = IPC::ChannelProxy::Create(desktop_channel_handle, - IPC::Channel::MODE_CLIENT, - this, - io_task_runner_.get(), - nullptr); + IPC::Channel::MODE_CLIENT, this, + io_task_runner_.get()); // Pass ID of the client (which is authenticated at this point) to the desktop // session agent and start the agent. |