diff options
author | erikchen <erikchen@chromium.org> | 2015-07-30 10:56:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-30 17:57:35 +0000 |
commit | f6287ed6492e13410ffe633656ccac7fe01ad9e1 (patch) | |
tree | 49b46e8bc87eeea1ed5281bbc6cf8cd7ebb2b201 /cloud_print | |
parent | 02927f5483e832928d574e81a877101b3e534885 (diff) | |
download | chromium_src-f6287ed6492e13410ffe633656ccac7fe01ad9e1.zip chromium_src-f6287ed6492e13410ffe633656ccac7fe01ad9e1.tar.gz chromium_src-f6287ed6492e13410ffe633656ccac7fe01ad9e1.tar.bz2 |
Update cloud_print for attachment brokering.
The windows cloud print service doesn't attempt to send or receive brokerable
attachments, so it doesn't need to create or set up an attachment broker.
BUG=493414
Review URL: https://codereview.chromium.org/1258313003
Cr-Commit-Position: refs/heads/master@{#341157}
Diffstat (limited to 'cloud_print')
-rw-r--r-- | cloud_print/service/win/service_listener.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cloud_print/service/win/service_listener.cc b/cloud_print/service/win/service_listener.cc index 497aff76..2fdc8b7 100644 --- a/cloud_print/service/win/service_listener.cc +++ b/cloud_print/service/win/service_listener.cc @@ -92,8 +92,11 @@ void ServiceListener::Connect() { SECURITY_SQOS_PRESENT | SECURITY_IDENTIFICATION | FILE_FLAG_OVERLAPPED, NULL)); if (handle.IsValid()) { - channel_ = IPC::Channel::CreateClient(IPC::ChannelHandle(handle.Get()), - this); + // 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 */); channel_->Connect(); } else { ipc_thread_->message_loop()->PostDelayedTask( |