| Index: components/copresence/handlers/audio/audio_directive_handler.h
|
| diff --git a/components/copresence/handlers/audio/audio_directive_handler.h b/components/copresence/handlers/audio/audio_directive_handler.h
|
| index df2d1688886947c2f45c12783c8a1d9cf483aa35..91213c917a6e5077ad5fd2e12d113c7206c6a332 100644
|
| --- a/components/copresence/handlers/audio/audio_directive_handler.h
|
| +++ b/components/copresence/handlers/audio/audio_directive_handler.h
|
| @@ -7,13 +7,11 @@
|
|
|
| #include <string>
|
|
|
| -#include "components/copresence/mediums/audio/audio_manager.h"
|
| -#include "components/copresence/public/copresence_constants.h"
|
| +#include "components/audio_modem/public/whispernet_client.h"
|
|
|
| namespace copresence {
|
|
|
| class Directive;
|
| -class WhispernetClient;
|
|
|
| // The AudioDirectiveHandler handles audio transmit and receive instructions.
|
| class AudioDirectiveHandler {
|
| @@ -21,8 +19,8 @@ class AudioDirectiveHandler {
|
| virtual ~AudioDirectiveHandler() {}
|
|
|
| // Do not use this class before calling this.
|
| - virtual void Initialize(WhispernetClient* whispernet_client,
|
| - const TokensCallback& tokens_cb) = 0;
|
| + virtual void Initialize(audio_modem::WhispernetClient* whispernet_client,
|
| + const audio_modem::TokensCallback& tokens_cb) = 0;
|
|
|
| // Adds an instruction to our handler. The instruction will execute and be
|
| // removed after the ttl expires.
|
| @@ -33,10 +31,10 @@ class AudioDirectiveHandler {
|
| virtual void RemoveInstructions(const std::string& op_id) = 0;
|
|
|
| // Returns the currently playing token.
|
| - virtual const std::string PlayingToken(AudioType type) const = 0;
|
| + virtual const std::string PlayingToken(audio_modem::AudioType type) const = 0;
|
|
|
| // Returns if we have heard the currently playing audio token.
|
| - virtual bool IsPlayingTokenHeard(AudioType type) const = 0;
|
| + virtual bool IsPlayingTokenHeard(audio_modem::AudioType type) const = 0;
|
| };
|
|
|
| } // namespace copresence
|
|
|