commit | 443a84982b27396a4b37ccba278360e07a9076c5 | [log] [tgz] |
---|---|---|
author | Stefano Duo <stefanoduo@google.com> | Wed Mar 30 09:45:14 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 30 09:45:14 2022 |
tree | a5f5c7e56853cd0a54bc61aa48ddf2b55c880669 | |
parent | 1a7a37ae3b9cafe28270f24bed8ed0b1d2b4ae34 [diff] |
Multi-network Cronet: interface API plumbing This CL introduces the interface part of the multi-network Cronet API and bumps the interface API level. In short, all this does is expose a bindToNetwork API to: * ExperimentalBidirectionalStream.Builder * ExperimentalUrlRequest.Builder * ExperimentalCronetEngine This make it possible to set the Network parameter of implementation API changes introduced in https://crrev.com/c/3529068 and to add the @Override decorator to those methods. Tests are added to confirm that the underlying CronetContext is properly affected by calls to these new APIs. To achieve that CronetTestUtil has been extended to be able to query for network-bound contexts existence. Bug: 1284972 Change-Id: Ibfd62994d90cfe097822a04ce68a017e2242f58b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3528479 Reviewed-by: Richard Coles <torne@chromium.org> Commit-Queue: Stefano Duo <stefanoduo@google.com> Cr-Commit-Position: refs/heads/main@{#986910}
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.