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

Unified Diff: components/copresence/handlers/audio/audio_directive_list_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_list_unittest.cc
diff --git a/components/copresence/handlers/audio/audio_directive_list_unittest.cc b/components/copresence/handlers/audio/audio_directive_list_unittest.cc
index 78d29857e8de71efd2d42e42480ebcc3dbdda263..f746b0d5621cc14d2cd60ee0940b4e0d7921b74b 100644
--- a/components/copresence/handlers/audio/audio_directive_list_unittest.cc
+++ b/components/copresence/handlers/audio/audio_directive_list_unittest.cc
@@ -26,9 +26,10 @@ class AudioDirectiveListTest : 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));
}
base::MessageLoop message_loop_;
« no previous file with comments | « components/copresence/handlers/audio/audio_directive_list.cc ('k') | components/copresence/public/whispernet_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698