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

Unified Diff: media/base/media_log.h

Issue 877273002: Add media log messages to the main log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Report PIPELINE_ERROR to LOG(ERROR) + minor fixes Created 5 years, 10 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/media_log.h
diff --git a/media/base/media_log.h b/media/base/media_log.h
index 1a76cbf5f01ed68e67479f523e4119bd365b3dc8..eba52c80054374e83004a7a2072b0058689c8b80 100644
--- a/media/base/media_log.h
+++ b/media/base/media_log.h
@@ -42,6 +42,8 @@ class MEDIA_EXPORT MediaLog : public base::RefCountedThreadSafe<MediaLog> {
static std::string EventTypeToString(MediaLogEvent::Type type);
static std::string PipelineStatusToString(PipelineStatus status);
+ static std::string MediaEventToLogString(const MediaLogEvent& event);
+
MediaLog();
// Add an event to this log. Overriden by inheritors to actually do something

Powered by Google App Engine
This is Rietveld 408576698