OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHANNEL_NACL_H_ | 5 #ifndef IPC_IPC_CHANNEL_NACL_H_ |
6 #define IPC_IPC_CHANNEL_NACL_H_ | 6 #define IPC_IPC_CHANNEL_NACL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/linked_ptr.h" | 11 #include "base/memory/linked_ptr.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/process.h" | 14 #include "base/process/process.h" |
15 #include "base/threading/simple_thread.h" | 15 #include "base/threading/simple_thread.h" |
16 #include "ipc/ipc_channel.h" | 16 #include "ipc/ipc_channel.h" |
17 #include "ipc/ipc_channel_reader.h" | 17 #include "ipc/ipc_channel_reader.h" |
18 | 18 |
19 namespace IPC { | 19 namespace IPC { |
20 | 20 |
21 // Contains the results from one call to imc_recvmsg (data and file | 21 // Contains the results from one call to imc_recvmsg (data and file |
22 // descriptors). | 22 // descriptors). |
23 struct MessageContents; | 23 struct MessageContents; |
24 | 24 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 std::deque<linked_ptr<Message> > output_queue_; | 109 std::deque<linked_ptr<Message> > output_queue_; |
110 | 110 |
111 base::WeakPtrFactory<ChannelImpl> weak_ptr_factory_; | 111 base::WeakPtrFactory<ChannelImpl> weak_ptr_factory_; |
112 | 112 |
113 DISALLOW_IMPLICIT_CONSTRUCTORS(ChannelImpl); | 113 DISALLOW_IMPLICIT_CONSTRUCTORS(ChannelImpl); |
114 }; | 114 }; |
115 | 115 |
116 } // namespace IPC | 116 } // namespace IPC |
117 | 117 |
118 #endif // IPC_IPC_CHANNEL_NACL_H_ | 118 #endif // IPC_IPC_CHANNEL_NACL_H_ |
OLD | NEW |