commit | 0134aedaf0501394abc101917935f7a2cecc94d0 | [log] [tgz] |
---|---|---|
author | Ted Meyer <[email protected]> | Thu Jan 23 23:56:40 2020 |
committer | Commit Bot <[email protected]> | Thu Jan 23 23:56:40 2020 |
tree | 780145854f538550b5daeb409286a06945262ac1 | |
parent | ed61240a730f29183c7c4150241950631ea0d549 [diff] |
Refactor MediaLogRecord::Type MediaLogRecord::Type contains multiple unrelated values, including log levels, play/paused events, and a selection of video properties. This CL breaks them out into categories and adds another enum for each category with all the related fields there. It also adds a new method to MediaLog for each entry in MediaLogRecord::Type. There are now: SetProperty<MediaLogProperty>(...); AddEvent<MediaLogEvent>(...); NotifyError(...); AddMessage(MediaLogMessageLevel, std::string); which create and add records. Bug: 794255 Change-Id: I3f1f93d595d66d178b3b309f5696085015f4acc1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2006249 Commit-Queue: Ted Meyer <[email protected]> Reviewed-by: Andrey Kosyakov <[email protected]> Reviewed-by: Kentaro Hara <[email protected]> Reviewed-by: Will Harris <[email protected]> Reviewed-by: Frank Liberato <[email protected]> Cr-Commit-Position: refs/heads/master@{#734724}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .