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/ipc_desktop_environment_unittest.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/ipc_desktop_environment_unittest.cc')
-rw-r--r-- | remoting/host/ipc_desktop_environment_unittest.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/remoting/host/ipc_desktop_environment_unittest.cc b/remoting/host/ipc_desktop_environment_unittest.cc index b8c3910..9bfb621 100644 --- a/remoting/host/ipc_desktop_environment_unittest.cc +++ b/remoting/host/ipc_desktop_environment_unittest.cc @@ -394,12 +394,9 @@ void IpcDesktopEnvironmentTest::CreateDesktopProcess() { // Create the daemon end of the daemon-to-desktop channel. desktop_channel_name_ = IPC::Channel::GenerateUniqueRandomChannelID(); - desktop_channel_ = - IPC::ChannelProxy::Create(IPC::ChannelHandle(desktop_channel_name_), - IPC::Channel::MODE_SERVER, - &desktop_listener_, - io_task_runner_.get(), - nullptr); + desktop_channel_ = IPC::ChannelProxy::Create( + IPC::ChannelHandle(desktop_channel_name_), IPC::Channel::MODE_SERVER, + &desktop_listener_, io_task_runner_.get()); // Create and start the desktop process. desktop_process_.reset(new DesktopProcess(task_runner_, |