• Thomas Guilbert's avatar
    Add CodecLogger · 23fdf4c2
    Thomas Guilbert authored
    VideoEncoder and DecoderTemplate share some common logic around the
    lifetime management of MediaLogs. This CL abstracts away the logic into
    a CodecLogger, and updates MediaLog uses through out the code.
    
    This CL also makes sure not to report the media::Status messages in JS
    exceptions, to avoid leaking security sensitive information.
    
    Bug: 1148541
    Change-Id: I483ee7be7aa52a7996c91cef7d781ba80b516855
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2538964Reviewed-by: default avatarEugene Zemtsov <eugene@chromium.org>
    Commit-Queue: Thomas Guilbert <tguilbert@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#831219}
    23fdf4c2
codec_logger.h 3.1 KB