7fd7b83e2baabef07ddf1cc28f35ca1fbabacff4
UmaHistogramEnumeration override variants
This function used to have two variants, one taking a string value, and another taking a pointer. The two variants are now a single one using a string view arg. This dispenses of two overrides for each variant, and this change corrects that. Chromium change: https://chromium.googlesource.com/chromium/src/+/bb5cb56e8987de4ee255ae9f67ed83009e24ed04 commit bb5cb56e8987de4ee255ae9f67ed83009e24ed04 Author: Alex Turner <alexmt@chromium.org> Date: Mon Aug 12 17:12:42 2024 +0000 Add std::string_view versions of base::UmaHistogram* functions Defines an additional overload of these functions that uses std::string_view. We keep the existing const char* and const std::string& versions to avoid code bloat, but move some to a separate header. Introduces linting to keep those two versions synchronized. Also makes consequential changes to histogram classes to permit these new overloads. (Note that these changes cannot be easily moved to a separate header so are kept in the main class declarations.) Bug: 358538894
…
…
…
…
…
…
Brave Core
Brave Core is a set of changes, APIs, and scripts used for customizing Chromium to make the Brave browser. Please also check https://github.com/brave/brave-browser
Follow @brave on Twitter for important announcements.
Resources
Community
You can ask questions and interact with the community in the following locations:
- Brave Community
communitychannel on Brave Software's Slack
Languages
C++
36.9%
HTML
31.6%
Swift
9.4%
TypeScript
9%
Java
4.8%
Other
8.1%