commit | 3b501f71bff7e85def9993b3f6b0d199e29ab31c | [log] [tgz] |
---|---|---|
author | Stefano Duo <stefanoduo@google.com> | Mon Jan 17 13:50:37 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 17 13:50:37 2022 |
tree | 6eb270cfa7d79c318a8585671c1e5b07ecbb64cf | |
parent | d15c8a122219a00ee440527be790e874d4fa7ad5 [diff] |
[Cronet] Refactor experimental option parsing Split the following two actions: * JSON string to Dictionary object transformation * URLRequestContextBuilder configuration based on the parsed options This will allow to access experimental options not related to the URLRequestContextBuilder more easily. Also, stop calling directly the constructor of UrlRequestContextConfig. Instead use a Create method that can properly convey failure semantics. Now, in case of non-JSON compliant experimental options, the Java side can receive the error and propagate it to the user as a RuntimeException. Bug: 1183119, b:189096305, 1278835 Change-Id: I497a17fab9d3df5732f2f54fd45ba741a8e91283 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3326721 Reviewed-by: Richard Coles <torne@chromium.org> Commit-Queue: Stefano Duo <stefanoduo@google.com> Cr-Commit-Position: refs/heads/main@{#960041}
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.