OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/data_pipe_producer_dispatcher.h" | 5 #include "mojo/edk/system/data_pipe_producer_dispatcher.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 "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
12 #include "mojo/edk/embedder/embedder_internal.h" | 15 #include "mojo/edk/embedder/embedder_internal.h" |
13 #include "mojo/edk/embedder/platform_shared_buffer.h" | 16 #include "mojo/edk/embedder/platform_shared_buffer.h" |
14 #include "mojo/edk/embedder/platform_support.h" | 17 #include "mojo/edk/embedder/platform_support.h" |
15 #include "mojo/edk/system/configuration.h" | 18 #include "mojo/edk/system/configuration.h" |
16 #include "mojo/edk/system/data_pipe.h" | 19 #include "mojo/edk/system/data_pipe.h" |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 CHECK(fds.empty()); | 401 CHECK(fds.empty()); |
399 if (write_error) | 402 if (write_error) |
400 serialized_platform_handle_.reset(); | 403 serialized_platform_handle_.reset(); |
401 channel_ = nullptr; | 404 channel_ = nullptr; |
402 } | 405 } |
403 serialized_ = true; | 406 serialized_ = true; |
404 } | 407 } |
405 | 408 |
406 } // namespace edk | 409 } // namespace edk |
407 } // namespace mojo | 410 } // namespace mojo |
OLD | NEW |