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 "mojo/public/cpp/bindings/lib/interface_endpoint_client.h" | 5 #include "mojo/public/cpp/bindings/lib/interface_endpoint_client.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/macros.h" |
8 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
9 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
10 #include "mojo/public/cpp/bindings/associated_group.h" | 13 #include "mojo/public/cpp/bindings/associated_group.h" |
11 #include "mojo/public/cpp/bindings/lib/multiplex_router.h" | 14 #include "mojo/public/cpp/bindings/lib/multiplex_router.h" |
12 | 15 |
13 namespace mojo { | 16 namespace mojo { |
14 namespace internal { | 17 namespace internal { |
15 | 18 |
16 // ---------------------------------------------------------------------------- | 19 // ---------------------------------------------------------------------------- |
17 | 20 |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 } else { | 219 } else { |
217 if (!incoming_receiver_) | 220 if (!incoming_receiver_) |
218 return false; | 221 return false; |
219 | 222 |
220 return incoming_receiver_->Accept(message); | 223 return incoming_receiver_->Accept(message); |
221 } | 224 } |
222 } | 225 } |
223 | 226 |
224 } // namespace internal | 227 } // namespace internal |
225 } // namespace mojo | 228 } // namespace mojo |
OLD | NEW |