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

Unified Diff: components/copresence/handlers/audio/audio_directive_handler_unittest.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_handler_unittest.cc
diff --git a/components/copresence/handlers/audio/audio_directive_handler_unittest.cc b/components/copresence/handlers/audio/audio_directive_handler_unittest.cc
index 5332252f3d6eda1324d988315f17c3555b516058..4faa6974e39cafa639832a777655940b005854a4 100644
--- a/components/copresence/handlers/audio/audio_directive_handler_unittest.cc
+++ b/components/copresence/handlers/audio/audio_directive_handler_unittest.cc
@@ -47,9 +47,10 @@ class AudioDirectiveHandlerTest : public testing::Test {
protected:
void EncodeToken(const std::string& token,
- bool /* audible */,
+ bool audible,
const AudioDirectiveList::SamplesCallback& callback) {
- callback.Run(token, CreateRandomAudioRefCounted(0x1337, 1, 0x7331));
+ callback.Run(
+ token, audible, CreateRandomAudioRefCounted(0x1337, 1, 0x7331));
}
copresence::TokenInstruction CreateTransmitInstruction(
« no previous file with comments | « chrome/common/extensions/api/copresence_private.idl ('k') | components/copresence/handlers/audio/audio_directive_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698