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

Unified Diff: ipc/attachment_broker_privileged.cc

Issue 1258323004: Reland #1: Clean up interface of attachment broker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | ipc/attachment_broker_privileged_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/attachment_broker_privileged.cc
diff --git a/ipc/attachment_broker_privileged.cc b/ipc/attachment_broker_privileged.cc
index d2b68320ba0adc9b609e927ada5dd152e1c2e67d..1fe3a75e73ec2381ea4e063bab5e5925103db465 100644
--- a/ipc/attachment_broker_privileged.cc
+++ b/ipc/attachment_broker_privileged.cc
@@ -16,6 +16,7 @@ AttachmentBrokerPrivileged::~AttachmentBrokerPrivileged() {}
void AttachmentBrokerPrivileged::RegisterCommunicationChannel(
Channel* channel) {
+ channel->set_attachment_broker_endpoint(true);
auto it = std::find(channels_.begin(), channels_.end(), channel);
DCHECK(channels_.end() == it);
channels_.push_back(channel);
« no previous file with comments | « no previous file | ipc/attachment_broker_privileged_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698