| 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_MOJO_IPC_CHANNEL_MOJO_READERS_H_ | 5 #ifndef IPC_MOJO_IPC_CHANNEL_MOJO_READERS_H_ |
| 6 #define IPC_MOJO_IPC_CHANNEL_MOJO_READERS_H_ | 6 #define IPC_MOJO_IPC_CHANNEL_MOJO_READERS_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "ipc/mojo/ipc_message_pipe_reader.h" | 12 #include "ipc/mojo/ipc_message_pipe_reader.h" |
| 13 #include "mojo/public/cpp/system/core.h" | 13 #include "mojo/public/cpp/system/core.h" |
| 14 | 14 |
| 15 namespace mojo { | |
| 16 namespace embedder { | |
| 17 struct ChannelInfo; | |
| 18 } | |
| 19 } | |
| 20 | |
| 21 namespace IPC { | 15 namespace IPC { |
| 22 | 16 |
| 23 class ChannelMojo; | 17 class ChannelMojo; |
| 24 class Message; | 18 class Message; |
| 25 | 19 |
| 26 namespace internal { | 20 namespace internal { |
| 27 | 21 |
| 28 // A MessagePipeReader implementation for IPC::Message communication. | 22 // A MessagePipeReader implementation for IPC::Message communication. |
| 29 class MessageReader : public MessagePipeReader { | 23 class MessageReader : public MessagePipeReader { |
| 30 public: | 24 public: |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 private: | 87 private: |
| 94 MojoResult RespondHelloRequest(MojoHandle message_channel); | 88 MojoResult RespondHelloRequest(MojoHandle message_channel); |
| 95 | 89 |
| 96 DISALLOW_COPY_AND_ASSIGN(ClientControlReader); | 90 DISALLOW_COPY_AND_ASSIGN(ClientControlReader); |
| 97 }; | 91 }; |
| 98 | 92 |
| 99 } // namespace internal | 93 } // namespace internal |
| 100 } // namespace IPC | 94 } // namespace IPC |
| 101 | 95 |
| 102 #endif // IPC_MOJO_IPC_CHANNEL_MOJO_READERS_H_ | 96 #endif // IPC_MOJO_IPC_CHANNEL_MOJO_READERS_H_ |
| OLD | NEW |