| commit | e1f3f3edb6e4f650e366986e559f9896ce64dfd5 | [log] [tgz] |
|---|---|---|
| author | Andrew Williams <awillia@chromium.org> | Fri Dec 12 22:37:30 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 12 22:37:30 2025 |
| tree | 3a79b40342f1b7427b05f5cd27944edec68aa854 | |
| parent | 342a1fdad2d30c3db44952ede702b965371d9959 [diff] |
Remove use of BodyAsStringCallbackDeprecated (ash/ambient) Updates an existing use of the version of SimpleURLLoader::DownloadToString that takes a BodyAsStringCallbackDeprecated to use the version that takes a BodyAsStringCallback. This involves updating the callback function to accept a std::optional<std::string> instead of a std::unique_ptr<std::string>. This CL touches a usage in ash/ambient that wasn't indexed in code search for some reason (I've opened b/468023269 for that). Bug: 40258809 Change-Id: I9a9cceb2a31596f5887559d125b7d0b9ab388426 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7254135 Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> Commit-Queue: Andrew Williams <awillia@chromium.org> Cr-Commit-Position: refs/heads/main@{#1558297}
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.