OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ipc/attachment_broker.h" | 5 #include "ipc/attachment_broker.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 }); | 131 }); |
132 if (it == observers_.end()) | 132 if (it == observers_.end()) |
133 return; | 133 return; |
134 observer = it->observer; | 134 observer = it->observer; |
135 } | 135 } |
136 | 136 |
137 observer->ReceivedBrokerableAttachmentWithId(id); | 137 observer->ReceivedBrokerableAttachmentWithId(id); |
138 } | 138 } |
139 | 139 |
140 AttachmentBroker::ObserverInfo::ObserverInfo() {} | 140 AttachmentBroker::ObserverInfo::ObserverInfo() {} |
| 141 AttachmentBroker::ObserverInfo::ObserverInfo(const ObserverInfo& other) = |
| 142 default; |
141 AttachmentBroker::ObserverInfo::~ObserverInfo() {} | 143 AttachmentBroker::ObserverInfo::~ObserverInfo() {} |
142 | 144 |
143 } // namespace IPC | 145 } // namespace IPC |
OLD | NEW |