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

Unified Diff: media/base/test_helpers.cc

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.cc
diff --git a/media/base/test_helpers.cc b/media/base/test_helpers.cc
index d29d6329e837e16d3f20494b305b2200381c1d49..60e22dfab533eca9abeba44e09c6549d146879f9 100644
--- a/media/base/test_helpers.cc
+++ b/media/base/test_helpers.cc
@@ -260,4 +260,10 @@ void CallbackPairChecker::RecordBCalled() {
expecting_b_ = false;
}
+void AddLogEntryForTest(MediaLog::MediaLogLevel level,
+ const std::string& message) {
+ DVLOG(1) << "Media log (" << MediaLog::MediaLogLevelToString(level)
+ << "): " << message;
+}
+
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698