Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Unified Diff: components/copresence/handlers/audio/audio_directive_handler.h

Issue 487233004: Audio Directive Handler cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merging to head Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/copresence/handlers/audio/audio_directive_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 feff3378962f09724b35e11e04d74b0c4c30671e..3e650076d8d912f798677877bec1a2c786dfb524 100644
--- a/components/copresence/handlers/audio/audio_directive_handler.h
+++ b/components/copresence/handlers/audio/audio_directive_handler.h
@@ -91,13 +91,14 @@ class AudioDirectiveHandler {
// Processes the next active receive instruction.
void ProcessNextReceive();
- void HandleToken(const std::string token, bool audible);
+ void PlayToken(const std::string token, bool audible);
// This is the method that the whispernet client needs to call to return
// samples to us.
- void OnTokenEncoded(const std::string& token,
- bool audible,
- const scoped_refptr<media::AudioBusRefCounted>& samples);
+ void PlayEncodedToken(
+ const std::string& token,
+ bool audible,
+ const scoped_refptr<media::AudioBusRefCounted>& samples);
AudioDirectiveList transmits_list_audible_;
AudioDirectiveList transmits_list_inaudible_;
« no previous file with comments | « no previous file | components/copresence/handlers/audio/audio_directive_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698