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 /cloud_print | |
| 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 'cloud_print')
| -rw-r--r-- | cloud_print/service/win/service_listener.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cloud_print/service/win/service_listener.cc b/cloud_print/service/win/service_listener.cc index 2fdc8b7..52d8ab8 100644 --- a/cloud_print/service/win/service_listener.cc +++ b/cloud_print/service/win/service_listener.cc @@ -95,8 +95,7 @@ void ServiceListener::Connect() { // This process never sends or receives brokered attachments, so there's no // need for an attachment broker. channel_ = - IPC::Channel::CreateClient(IPC::ChannelHandle(handle.Get()), this, - nullptr /* attachment_broker */); + IPC::Channel::CreateClient(IPC::ChannelHandle(handle.Get()), this); channel_->Connect(); } else { ipc_thread_->message_loop()->PostDelayedTask( |
