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_consumer_dispatcher.h" | 5 #include "mojo/edk/system/data_pipe_consumer_dispatcher.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <algorithm> | 10 #include <algorithm> |
8 #include <utility> | 11 #include <utility> |
9 | 12 |
10 #include "base/bind.h" | 13 #include "base/bind.h" |
11 #include "base/logging.h" | 14 #include "base/logging.h" |
12 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
13 #include "mojo/edk/embedder/embedder_internal.h" | 16 #include "mojo/edk/embedder/embedder_internal.h" |
14 #include "mojo/edk/embedder/platform_shared_buffer.h" | 17 #include "mojo/edk/embedder/platform_shared_buffer.h" |
15 #include "mojo/edk/embedder/platform_support.h" | 18 #include "mojo/edk/embedder/platform_support.h" |
16 #include "mojo/edk/system/data_pipe.h" | 19 #include "mojo/edk/system/data_pipe.h" |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 CHECK(!write_error) << "DataPipeConsumerDispatcher doesn't write."; | 494 CHECK(!write_error) << "DataPipeConsumerDispatcher doesn't write."; |
492 | 495 |
493 channel_ = nullptr; | 496 channel_ = nullptr; |
494 } | 497 } |
495 | 498 |
496 serialized_ = true; | 499 serialized_ = true; |
497 } | 500 } |
498 | 501 |
499 } // namespace edk | 502 } // namespace edk |
500 } // namespace mojo | 503 } // namespace mojo |
OLD | NEW |