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 REMOTING_PROTOCOL_PROTOBUF_MESSAGE_PARSER_H_ | 5 #ifndef REMOTING_PROTOCOL_PROTOBUF_MESSAGE_PARSER_H_ |
6 #define REMOTING_PROTOCOL_PROTOBUF_MESSAGE_PARSER_H_ | 6 #define REMOTING_PROTOCOL_PROTOBUF_MESSAGE_PARSER_H_ |
7 | 7 |
| 8 #include <utility> |
| 9 |
8 #include "base/bind.h" | 10 #include "base/bind.h" |
9 #include "base/callback.h" | 11 #include "base/callback.h" |
10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
11 #include "remoting/base/compound_buffer.h" | 13 #include "remoting/base/compound_buffer.h" |
12 #include "remoting/protocol/message_reader.h" | 14 #include "remoting/protocol/message_reader.h" |
13 | 15 |
14 namespace remoting { | 16 namespace remoting { |
15 namespace protocol { | 17 namespace protocol { |
16 | 18 |
17 // Version of MessageReader for protocol buffer messages, that parses | 19 // Version of MessageReader for protocol buffer messages, that parses |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 } | 55 } |
54 | 56 |
55 MessageReader* message_reader_; | 57 MessageReader* message_reader_; |
56 MessageReceivedCallback message_received_callback_; | 58 MessageReceivedCallback message_received_callback_; |
57 }; | 59 }; |
58 | 60 |
59 } // namespace protocol | 61 } // namespace protocol |
60 } // namespace remoting | 62 } // namespace remoting |
61 | 63 |
62 #endif // REMOTING_PROTOCOL_PROTOBUF_MESSAGE_PARSER_H_ | 64 #endif // REMOTING_PROTOCOL_PROTOBUF_MESSAGE_PARSER_H_ |
OLD | NEW |