commit | 64546ed44650086d9f4c1a6b3a9aea250a44f4eb | [log] [tgz] |
---|---|---|
author | Chris Cunningham <chcunningham@chromium.org> | Thu Feb 13 17:28:49 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 13 17:28:49 2020 |
tree | 1efda9be23c20a594d8d7599a98993d708da1e5a | |
parent | 81a3365f556e4bcd6983d33d307c4fcaeca2af61 [diff] |
Get media::learning::LearningTasks by name rather than ID. The primary purpose of a LearningTask is to describe/configure a LearningTaskController. LearningTaskController's are registered by name, whereas LearningTasks have been registered by enum ID. This CL remedies the asymmetry, making retrieval of Tasks match that of Controllers by using a "name" in both places. Change-Id: Ibc58b42e9c92876134f3da524b0804f3e1d71809 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2053619 Commit-Queue: Frank Liberato <liberato@chromium.org> Reviewed-by: Frank Liberato <liberato@chromium.org> Auto-Submit: Chrome Cunningham <chcunningham@chromium.org> Cr-Commit-Position: refs/heads/master@{#741100}
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 .