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

Unified Diff: components/copresence/handlers/audio/audio_directive_list.cc

Issue 460743004: Improve audible token detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: components/copresence/handlers/audio/audio_directive_list.cc
diff --git a/components/copresence/handlers/audio/audio_directive_list.cc b/components/copresence/handlers/audio/audio_directive_list.cc
index db4b6844a5b8b576541a4408cb89ce83f751dca3..f6403f63b07ca3a2e7e8a1477f9e0c3625e3ac7a 100644
--- a/components/copresence/handlers/audio/audio_directive_list.cc
+++ b/components/copresence/handlers/audio/audio_directive_list.cc
@@ -125,6 +125,7 @@ scoped_ptr<AudioDirective> AudioDirectiveList::GetNextFromList(
void AudioDirectiveList::OnTokenEncoded(
const std::string& token,
+ bool /* audible */,
const scoped_refptr<media::AudioBusRefCounted>& samples) {
// We shouldn't re-encode a token if it's already in the cache.
DCHECK(!samples_cache_.HasKey(token));

Powered by Google App Engine
This is Rietveld 408576698