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