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

Unified Diff: components/copresence/mediums/audio/audio_player_unittest.cc

Issue 637223011: Redesign the copresence audio handlers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 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/mediums/audio/audio_player_unittest.cc
diff --git a/components/copresence/mediums/audio/audio_player_unittest.cc b/components/copresence/mediums/audio/audio_player_unittest.cc
index b978b99013b8b2fee3c553970da7cbebaa3a78e3..562cca3a8644e4f3d9400e6bdbd205a5b8e44af7 100644
--- a/components/copresence/mediums/audio/audio_player_unittest.cc
+++ b/components/copresence/mediums/audio/audio_player_unittest.cc
@@ -6,6 +6,7 @@
#include "base/bind.h"
#include "base/memory/weak_ptr.h"
+#include "components/copresence/mediums/audio/audio_player_impl.h"
#include "components/copresence/public/copresence_constants.h"
#include "components/copresence/test/audio_test_support.h"
#include "media/audio/audio_manager.h"
@@ -81,7 +82,7 @@ class AudioPlayerTest : public testing::Test,
void CreatePlayer() {
DeletePlayer();
- player_ = new AudioPlayer();
+ player_ = new AudioPlayerImpl();
player_->set_output_stream_for_testing(new TestAudioOutputStream(
kDefaultFrameCount,
kMaxFrameCount,
@@ -129,7 +130,7 @@ class AudioPlayerTest : public testing::Test,
scoped_ptr<media::AudioBus> buffer_;
int buffer_index_;
- AudioPlayer* player_;
+ AudioPlayerImpl* player_;
Daniel Erat 2014/10/22 16:34:35 nit: document ownership
rkc 2014/10/22 18:21:48 Done.
base::MessageLoop message_loop_;
};

Powered by Google App Engine
This is Rietveld 408576698