Vectorize website settings icons in omnibox
[chromium-blink-merge.git] / components / copresence / public / copresence_constants.h
blobe4c43907b1ec007d2b7318f7b5329992d4252056
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>
10 #include <string>
11 #include <vector>
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"
18 namespace media {
19 class AudioBusRefCounted;
22 namespace copresence {
24 class Directive;
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_