| 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/edk/system/child_broker.h" | 5 #include "mojo/edk/system/child_broker.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include <utility> | 10 #include <utility> |
| 8 | 11 |
| 9 #include "base/bind.h" | 12 #include "base/bind.h" |
| 10 #include "base/logging.h" | 13 #include "base/logging.h" |
| 11 #include "mojo/edk/embedder/embedder_internal.h" | 14 #include "mojo/edk/embedder/embedder_internal.h" |
| 12 #include "mojo/edk/embedder/platform_channel_pair.h" | 15 #include "mojo/edk/embedder/platform_channel_pair.h" |
| 13 #include "mojo/edk/system/broker_messages.h" | 16 #include "mojo/edk/system/broker_messages.h" |
| 14 #include "mojo/edk/system/message_pipe_dispatcher.h" | 17 #include "mojo/edk/system/message_pipe_dispatcher.h" |
| 15 | 18 |
| 16 namespace mojo { | 19 namespace mojo { |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 if (WriteAndReadResponse(&message, handles, response_size)) { | 327 if (WriteAndReadResponse(&message, handles, response_size)) { |
| 325 server->reset(PlatformHandle(handles[0])); | 328 server->reset(PlatformHandle(handles[0])); |
| 326 client->reset(PlatformHandle(handles[1])); | 329 client->reset(PlatformHandle(handles[1])); |
| 327 } | 330 } |
| 328 } | 331 } |
| 329 | 332 |
| 330 #endif | 333 #endif |
| 331 | 334 |
| 332 } // namespace edk | 335 } // namespace edk |
| 333 } // namespace mojo | 336 } // namespace mojo |
| OLD | NEW |