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 REMOTING_PROTOCOL_MESSAGE_READER_H_ | 5 #ifndef REMOTING_PROTOCOL_MESSAGE_READER_H_ |
6 #define REMOTING_PROTOCOL_MESSAGE_READER_H_ | 6 #define REMOTING_PROTOCOL_MESSAGE_READER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
12 #include "remoting/base/compound_buffer.h" | 13 #include "remoting/base/compound_buffer.h" |
13 #include "remoting/protocol/message_decoder.h" | 14 #include "remoting/protocol/message_decoder.h" |
14 | 15 |
15 namespace net { | 16 namespace net { |
16 class IOBuffer; | 17 class IOBuffer; |
17 } // namespace net | 18 } // namespace net |
18 | 19 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 80 |
80 base::WeakPtrFactory<MessageReader> weak_factory_; | 81 base::WeakPtrFactory<MessageReader> weak_factory_; |
81 | 82 |
82 DISALLOW_COPY_AND_ASSIGN(MessageReader); | 83 DISALLOW_COPY_AND_ASSIGN(MessageReader); |
83 }; | 84 }; |
84 | 85 |
85 } // namespace protocol | 86 } // namespace protocol |
86 } // namespace remoting | 87 } // namespace remoting |
87 | 88 |
88 #endif // REMOTING_PROTOCOL_MESSAGE_READER_H_ | 89 #endif // REMOTING_PROTOCOL_MESSAGE_READER_H_ |
OLD | NEW |