OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_AUDIO_MODEM_PUBLIC_AUDIO_MODEM_TYPES_H_ | 5 #ifndef COMPONENTS_AUDIO_MODEM_PUBLIC_AUDIO_MODEM_TYPES_H_ |
6 #define COMPONENTS_AUDIO_MODEM_PUBLIC_AUDIO_MODEM_TYPES_H_ | 6 #define COMPONENTS_AUDIO_MODEM_PUBLIC_AUDIO_MODEM_TYPES_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
13 #include "media/base/channel_layout.h" | 15 #include "media/base/channel_layout.h" |
14 | 16 |
15 // Various constants and types used for the audio modem. | 17 // Various constants and types used for the audio modem. |
16 // TODO(ckehoe): Move the constants out into their own header. | 18 // TODO(ckehoe): Move the constants out into their own header. |
17 | 19 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 bool crc; | 66 bool crc; |
65 bool parity; | 67 bool parity; |
66 }; | 68 }; |
67 | 69 |
68 // Callback to pass around found tokens. | 70 // Callback to pass around found tokens. |
69 using TokensCallback = base::Callback<void(const std::vector<AudioToken>&)>; | 71 using TokensCallback = base::Callback<void(const std::vector<AudioToken>&)>; |
70 | 72 |
71 } // namespace audio_modem | 73 } // namespace audio_modem |
72 | 74 |
73 #endif // COMPONENTS_AUDIO_MODEM_PUBLIC_AUDIO_MODEM_TYPES_H_ | 75 #endif // COMPONENTS_AUDIO_MODEM_PUBLIC_AUDIO_MODEM_TYPES_H_ |
OLD | NEW |