commit | d23b32b0887bc14556a9c932c674217cea624931 | [log] [tgz] |
---|---|---|
author | liberato@chromium.org <liberato@chromium.org> | Wed Mar 20 16:42:36 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Mar 20 16:42:36 2019 |
tree | 87eeab9a968350a4844750a98258baa306680914 | |
parent | ab7661974526a368aed3f7a058a2db62dbf358af [diff] |
Use origin as MediaCapabilities feature. This CL somewhat hackily plumbs the (hashed) origin from the render frame to the LearningHelper. What should happen, instead, is this: - LearningTaskController is created per frame. - LearningTaskController has a FeatureProvider that memorizes the frame's origin. However, since LearningHelper is created per-context, there's no easy way to get the frame into its feature provider. We could plumb a separate feature provider per frame, I suppose, and let the VideoDecodeStatsRecoder handle the lifetime, but that requires more changes than this. If it turns out that origin is actually useful, then we can use per-frame LearningTaskControllers more properly once they're done. Change-Id: I440dc5090c690865716fff5ca9a521a12e474083 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1521448 Reviewed-by: Christian Dullweber <dullweber@chromium.org> Reviewed-by: Chrome Cunningham <chcunningham@chromium.org> Reviewed-by: Bo <boliu@chromium.org> Commit-Queue: Frank Liberato <liberato@chromium.org> Cr-Commit-Position: refs/heads/master@{#642551}
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 .