| 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_WIN_H_ | 5 #ifndef IPC_IPC_CHANNEL_WIN_H_ |
| 6 #define IPC_IPC_CHANNEL_WIN_H_ | 6 #define IPC_IPC_CHANNEL_WIN_H_ |
| 7 | 7 |
| 8 #include "ipc/ipc_channel.h" | 8 #include "ipc/ipc_channel.h" |
| 9 | 9 |
| 10 #include <queue> | 10 #include <queue> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
| 16 #include "ipc/ipc_channel_reader.h" | 16 #include "ipc/ipc_channel_reader.h" |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class ThreadChecker; | 19 class ThreadChecker; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace IPC { | 22 namespace IPC { |
| 23 | 23 |
| 24 class Channel::ChannelImpl : public internal::ChannelReader, | 24 class Channel::ChannelImpl : public internal::ChannelReader, |
| 25 public base::MessageLoopForIO::IOHandler { | 25 public base::MessageLoopForIO::IOHandler { |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 base::WeakPtrFactory<ChannelImpl> weak_factory_; | 97 base::WeakPtrFactory<ChannelImpl> weak_factory_; |
| 98 | 98 |
| 99 scoped_ptr<base::ThreadChecker> thread_check_; | 99 scoped_ptr<base::ThreadChecker> thread_check_; |
| 100 | 100 |
| 101 DISALLOW_COPY_AND_ASSIGN(ChannelImpl); | 101 DISALLOW_COPY_AND_ASSIGN(ChannelImpl); |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 } // namespace IPC | 104 } // namespace IPC |
| 105 | 105 |
| 106 #endif // IPC_IPC_CHANNEL_WIN_H_ | 106 #endif // IPC_IPC_CHANNEL_WIN_H_ |
| OLD | NEW |