| 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 5cbaa1d2c27f497bb635e9b2fd6946731ff90f21..df2d1688886947c2f45c12783c8a1d9cf483aa35 100644
|
| --- a/components/copresence/handlers/audio/audio_directive_handler.h
|
| +++ b/components/copresence/handlers/audio/audio_directive_handler.h
|
| @@ -10,13 +10,9 @@
|
| #include "components/copresence/mediums/audio/audio_manager.h"
|
| #include "components/copresence/public/copresence_constants.h"
|
|
|
| -namespace base {
|
| -class TimeDelta;
|
| -}
|
| -
|
| namespace copresence {
|
|
|
| -class TokenInstruction;
|
| +class Directive;
|
| class WhispernetClient;
|
|
|
| // The AudioDirectiveHandler handles audio transmit and receive instructions.
|
| @@ -30,9 +26,8 @@
|
|
|
| // Adds an instruction to our handler. The instruction will execute and be
|
| // removed after the ttl expires.
|
| - virtual void AddInstruction(const TokenInstruction& instruction,
|
| - const std::string& op_id,
|
| - base::TimeDelta ttl) = 0;
|
| + virtual void AddInstruction(const Directive& directive,
|
| + const std::string& op_id) = 0;
|
|
|
| // Removes all instructions associated with this operation id.
|
| virtual void RemoveInstructions(const std::string& op_id) = 0;
|
|
|