| 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 EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_FRAMER_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_FRAMER_H_ |
| 6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_FRAMER_H_ | 6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_FRAMER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/basictypes.h" | |
| 11 #include "extensions/common/api/cast_channel.h" | 12 #include "extensions/common/api/cast_channel.h" |
| 12 #include "net/base/io_buffer.h" | 13 #include "net/base/io_buffer.h" |
| 13 | 14 |
| 14 namespace extensions { | 15 namespace extensions { |
| 15 namespace api { | 16 namespace api { |
| 16 namespace cast_channel { | 17 namespace cast_channel { |
| 17 class CastMessage; | 18 class CastMessage; |
| 18 | 19 |
| 19 // Class for constructing and parsing CastMessage packet data. | 20 // Class for constructing and parsing CastMessage packet data. |
| 20 class MessageFramer { | 21 class MessageFramer { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 91 |
| 91 // Disables Ingest functionality is the parser receives invalid data. | 92 // Disables Ingest functionality is the parser receives invalid data. |
| 92 bool error_; | 93 bool error_; |
| 93 | 94 |
| 94 DISALLOW_COPY_AND_ASSIGN(MessageFramer); | 95 DISALLOW_COPY_AND_ASSIGN(MessageFramer); |
| 95 }; | 96 }; |
| 96 } // namespace cast_channel | 97 } // namespace cast_channel |
| 97 } // namespace api | 98 } // namespace api |
| 98 } // namespace extensions | 99 } // namespace extensions |
| 99 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_FRAMER_H_ | 100 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_FRAMER_H_ |
| OLD | NEW |