commit | 0cd1f69682af632e5f17bc0e9921bb3b7b2231c7 | [log] [tgz] |
---|---|---|
author | Frank Liberato <liberato@chromium.org> | Tue Jan 11 21:07:36 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 11 21:07:36 2022 |
tree | 3c2f1485548511ff8183528bfd93bb22f834c1cb | |
parent | 883df9dacc2360dc8e9f150c7e1098cb1f212e84 [diff] |
Allow media::OkStatus() to convert to any TypedStatus. OkStatus() now works for any status codes that have `kOk`, not just the default codes. One can implicitly or explicitly do this: TypedStatus<X>(OkStatus()) => X::Codes::kOk; or TypedStatus<X> Foo() { return OkStatus(); } If the status doesn't have `kOk`, compile-time hilarity will ensue. Change-Id: I346967134d93e9d8a30b54f2789d2f10d19bc428 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3372182 Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Frank Liberato <liberato@chromium.org> Cr-Commit-Position: refs/heads/main@{#957707}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.