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

Unified Diff: media/base/test_helpers.h

Issue 1041353002: media-internals: Differentiate error, info, and debug log messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address reviewer comments Created 5 years, 9 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/base/test_helpers.h
diff --git a/media/base/test_helpers.h b/media/base/test_helpers.h
index 3401a09bdb01a3b140b4aeb7a66ac4fce72ac53e..a2c29544ffb4d47967c0b9e782ce5222b2d89299 100644
--- a/media/base/test_helpers.h
+++ b/media/base/test_helpers.h
@@ -8,6 +8,7 @@
#include "base/basictypes.h"
#include "base/callback.h"
#include "media/base/channel_layout.h"
+#include "media/base/media_log.h"
#include "media/base/pipeline_status.h"
#include "media/base/sample_format.h"
#include "media/base/video_decoder_config.h"
@@ -138,6 +139,11 @@ class CallbackPairChecker {
bool expecting_b_;
};
+// Test implementation of a media log LogCB that sends media log messages to
+// DVLOG(1).
+void AddLogEntryForTest(MediaLog::MediaLogLevel level,
+ const std::string& message);
+
} // namespace media
#endif // MEDIA_BASE_TEST_HELPERS_H_

Powered by Google App Engine
This is Rietveld 408576698