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

Unified Diff: media/filters/audio_renderer_impl_unittest.cc

Issue 547913002: MediaLog: Log selected audio/video decoder name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 6 years, 3 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: media/filters/audio_renderer_impl_unittest.cc
diff --git a/media/filters/audio_renderer_impl_unittest.cc b/media/filters/audio_renderer_impl_unittest.cc
index fc6c781d3722ea40cb40c348a3a3d19e28c80f90..fe5a446d154952332fa3abcbaf419a599a17b96a 100644
--- a/media/filters/audio_renderer_impl_unittest.cc
+++ b/media/filters/audio_renderer_impl_unittest.cc
@@ -50,6 +50,8 @@ static int kChannels = ChannelLayoutToChannelCount(kChannelLayout);
static int kInputSamplesPerSecond = 5000;
static int kOutputSamplesPerSecond = 10000;
+static void LogFunc(const std::string& str) { DVLOG(1) << str; }
+
ACTION_P(EnterPendingDecoderInitStateAction, test) {
test->EnterPendingDecoderInitState(arg1);
}
@@ -98,7 +100,8 @@ class AudioRendererImplTest : public ::testing::Test {
sink_.get(),
decoders.Pass(),
SetDecryptorReadyCB(),
- hardware_config_));
+ hardware_config_,
+ base::Bind(&LogFunc)));
}
virtual ~AudioRendererImplTest() {

Powered by Google App Engine
This is Rietveld 408576698