| commit | 5cdbbb62573638c03c20a3312af4823ea66f70d2 | [log] [tgz] |
|---|---|---|
| author | Di Wu <diwux@google.com> | Mon Aug 04 14:58:47 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 04 14:58:47 2025 |
| tree | 54d61b91ebd2687afcde99e4ace1d29dd78a007c | |
| parent | b3d334c6ae9538f64ea251e5898bbf8790219091 [diff] |
Refactor TTS constants to use inline constexpr This change updates the TTS extension API constants to use 'inline constexpr' instead of the 'extern const' pattern. This aligns with the Chromium style guide[1] for defining compile-time constants in header files. Using 'inline constexpr' prevents potential ODR violations and allows the compiler to better optimize the code by having the constant's value available at the point of use. No functional change is intended. [1]:https://groups.google.com/a/chromium.org/g/chromium-dev/c/OXxJy5L96jI Bug: None Test: Tryjob Change-Id: Ifa5c4a46915a118df3cf32e42c458ed179b3cfc5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6817198 Reviewed-by: Avi Drissman <avi@chromium.org> Commit-Queue: Di Wu <diwux@google.com> Cr-Commit-Position: refs/heads/main@{#1496341}
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.