OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CONSTANTS_H_ | |
6 #define COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CONSTANTS_H_ | |
7 | |
8 #include <google/protobuf/repeated_field.h> | |
9 | |
10 #include <string> | |
11 #include <vector> | |
12 | |
13 #include "base/callback_forward.h" | |
14 #include "base/memory/ref_counted.h" | |
15 #include "components/copresence/tokens.h" | |
16 #include "media/base/channel_layout.h" | |
17 | |
18 namespace media { | |
19 class AudioBusRefCounted; | |
20 } | |
21 | |
22 namespace copresence { | |
23 | |
24 class Directive; | |
25 class SubscribedMessage; | |
26 | |
27 // Callback to pass a list of directives back to CopresenceState. | |
28 using DirectivesCallback = base::Callback<void(const std::vector<Directive>&)>; | |
29 | |
30 // Callback to pass around a list of SubscribedMessages. | |
31 using MessagesCallback = base::Callback<void( | |
32 const google::protobuf::RepeatedPtrField<SubscribedMessage>&)>; | |
33 | |
34 } // namespace copresence | |
35 | |
36 #endif // COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CONSTANTS_H_ | |
OLD | NEW |