commit | 9febeb19dab5b13383b5b4145c0a3e6e0af82531 | [log] [tgz] |
---|---|---|
author | chcunningham <chcunningham@chromium.org> | Wed Jul 11 13:53:21 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 11 13:53:21 2018 |
tree | 424c9694db7325e036f1406da5681e6c7689cc9b | |
parent | a1a12ef3b343f9e75c630ed6dc8f1ea44a8a747b [diff] |
VideoDecodePerfHistory - safer SaveCB. This changes the interface such that saves can only performed via the SaveCB. Internally the CB is weakly bound to the perf history so post destruction saves are quietly dropped. This unblocks re-landing https://chromium-review.googlesource.com/c/chromium/src/+/1123687/1 The above CL will give incognito profiles a distinct VideoDecodePerfHistory instance. Incognito profile's are rapidly deleted when the last tab closes, creating a race condition for any per stats that are inbound from video's on that tab. Now, using the SaveCB, those late stats will be safely dropped. Bug: 855631, 855215, 796280 Change-Id: Ia978dbca14d5584ca92301aee84020437a90311e Reviewed-on: https://chromium-review.googlesource.com/1123396 Reviewed-by: Markus Heintz <markusheintz@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Chrome Cunningham (In Paris) <chcunningham@chromium.org> Cr-Commit-Position: refs/heads/master@{#574144}
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 .