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