| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef IPC_IPC_MESSAGE_PIPE_READER_H_ | 5 #ifndef IPC_IPC_MESSAGE_PIPE_READER_H_ |
| 6 #define IPC_IPC_MESSAGE_PIPE_READER_H_ | 6 #define IPC_IPC_MESSAGE_PIPE_READER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/atomicops.h" | 13 #include "base/atomicops.h" |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
| 17 #include "ipc/ipc.mojom.h" |
| 17 #include "ipc/ipc_message.h" | 18 #include "ipc/ipc_message.h" |
| 18 #include "ipc/mojo/ipc.mojom.h" | |
| 19 #include "mojo/public/cpp/bindings/associated_binding.h" | 19 #include "mojo/public/cpp/bindings/associated_binding.h" |
| 20 #include "mojo/public/cpp/system/core.h" | 20 #include "mojo/public/cpp/system/core.h" |
| 21 #include "mojo/public/cpp/system/message_pipe.h" | 21 #include "mojo/public/cpp/system/message_pipe.h" |
| 22 | 22 |
| 23 namespace IPC { | 23 namespace IPC { |
| 24 namespace internal { | 24 namespace internal { |
| 25 | 25 |
| 26 class AsyncHandleWaiter; | 26 class AsyncHandleWaiter; |
| 27 | 27 |
| 28 // A helper class to handle bytestream directly over mojo::MessagePipe | 28 // A helper class to handle bytestream directly over mojo::MessagePipe |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 | 115 |
| 116 base::ThreadChecker thread_checker_; | 116 base::ThreadChecker thread_checker_; |
| 117 | 117 |
| 118 DISALLOW_COPY_AND_ASSIGN(MessagePipeReader); | 118 DISALLOW_COPY_AND_ASSIGN(MessagePipeReader); |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 } // namespace internal | 121 } // namespace internal |
| 122 } // namespace IPC | 122 } // namespace IPC |
| 123 | 123 |
| 124 #endif // IPC_IPC_MESSAGE_PIPE_READER_H_ | 124 #endif // IPC_IPC_MESSAGE_PIPE_READER_H_ |
| OLD | NEW |