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.
5 #ifndef COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CONSTANTS_H_
6 #define COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CONSTANTS_H_
8 #include <google/protobuf/repeated_field.h>
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"
19 class AudioBusRefCounted
;
22 namespace copresence
{
25 class SubscribedMessage
;
27 // Callback to pass a list of directives back to CopresenceState.
28 using DirectivesCallback
= base::Callback
<void(const std::vector
<Directive
>&)>;
30 // Callback to pass around a list of SubscribedMessages.
31 using MessagesCallback
= base::Callback
<void(
32 const google::protobuf::RepeatedPtrField
<SubscribedMessage
>&)>;
34 } // namespace copresence
36 #endif // COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CONSTANTS_H_