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

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

Issue 453793002: Add audible support to the copresence API. (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 f237561b1bc9a32c93e99bdcd872d6bce4f77ef2..78d29857e8de71efd2d42e42480ebcc3dbdda263 100644
--- a/components/copresence/handlers/audio/audio_directive_list_unittest.cc
+++ b/components/copresence/handlers/audio/audio_directive_list_unittest.cc
@@ -19,12 +19,14 @@ class AudioDirectiveListTest : public testing::Test {
: directive_list_(new AudioDirectiveList(
base::Bind(&AudioDirectiveListTest::EncodeToken,
base::Unretained(this)),
- base::Bind(&base::DoNothing))) {}
+ base::Bind(&base::DoNothing),
+ false)) {}
virtual ~AudioDirectiveListTest() {}
protected:
void EncodeToken(const std::string& token,
+ bool /* audible */,
const AudioDirectiveList::SamplesCallback& callback) {
callback.Run(token, CreateRandomAudioRefCounted(0x1337, 1, 0x7331));
}
« no previous file with comments | « components/copresence/handlers/audio/audio_directive_list.cc ('k') | components/copresence/handlers/directive_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698