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

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: Use generic JSON serialization instead of handling each event type 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/media_log.h
diff --git a/media/base/media_log.h b/media/base/media_log.h
index abeb42057fffbdf678bfba5236a9623b5f3e6a80..e388c9b0801869373456b27ae85c481bc6f03a07 100644
--- a/media/base/media_log.h
+++ b/media/base/media_log.h
@@ -48,6 +48,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