• HobeXD's avatar
    [Video Capture, Chrome OS]: add camera profiling tool · 1c58f65e
    HobeXD authored
    I add a tracing tool in ChromeOS, and this is the Chrome side code to
    interact with the hal_adapter in ChromeOS through mojo. Also add the
    tracing of the camera capture request and get result.
    
    CQ-DEPEND=CL:1158095
    BUG=b:109714458
    TEST=Open about://tracing in Chrome, click Record, and choose CrosCamera.
    Open any camera app, and close it. Click Stop button in Chrome, and there
    will have some events show on the UI. In the process of camera service, and
    if you open the camera in chrome the browser process will also have some
    events.
    TEST=Pass capture_unittests
    
    Change-Id: I1ae67b8ca49d63679228eea5b579818b0b3d3686
    Reviewed-on: https://chromium-review.googlesource.com/1158106
    Commit-Queue: Jyun-jhe Chou <hobexd@google.com>
    Reviewed-by: default avatarRicky Liang <jcliang@chromium.org>
    Reviewed-by: default avatarKen Buchanan <kenrb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#589120}
    1c58f65e
camera_device_delegate.cc 26 KB