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 COMPONENTS_PAIRING_PROTO_DECODER_H_ | 5 #ifndef COMPONENTS_PAIRING_PROTO_DECODER_H_ |
6 #define COMPONENTS_PAIRING_PROTO_DECODER_H_ | 6 #define COMPONENTS_PAIRING_PROTO_DECODER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <deque> | 10 #include <deque> |
9 | 11 |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
14 #include "components/pairing/message_buffer.h" | 16 #include "components/pairing/message_buffer.h" |
15 | 17 |
16 namespace net { | 18 namespace net { |
17 class IOBuffer; | 19 class IOBuffer; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 MessageBuffer message_buffer_; | 89 MessageBuffer message_buffer_; |
88 int next_message_type_; | 90 int next_message_type_; |
89 int next_message_size_; | 91 int next_message_size_; |
90 | 92 |
91 DISALLOW_COPY_AND_ASSIGN(ProtoDecoder); | 93 DISALLOW_COPY_AND_ASSIGN(ProtoDecoder); |
92 }; | 94 }; |
93 | 95 |
94 } // namespace pairing_chromeos | 96 } // namespace pairing_chromeos |
95 | 97 |
96 #endif // COMPONENTS_PAIRING_PROTO_DECODER_H_ | 98 #endif // COMPONENTS_PAIRING_PROTO_DECODER_H_ |
OLD | NEW |