commit | fd75daaa5d7a3cf424cfaf4572ecfa305b95d238 | [log] [tgz] |
---|---|---|
author | Dustin J. Mitchell <djmitche@chromium.org> | Thu Sep 12 14:39:43 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 12 14:39:43 2024 |
tree | a0578a12758ccab6e6ef4d07eb6ed2fade9c3b8f | |
parent | 36712090740c616021f3dab4ea8f7b46b0a0c067 [diff] |
Add fetcher interface and implement it with direct fetcher The new IpProtectionProxyConfigFetcher interface has a single function to get the proxy config. That does not accept an OAuth token since such a thing is particular to the direct method, only available on the browser, and not always used. This interface will be used in the network service as well, so such a parameter doesn't make sense. Instead, direct fetcher authentication (either via API key or OAuth token) is handled with a callback. With this change, the OAuth token and API key logic moves to the `CoreHost`, so the relevant tests do as well. In the process, those tests are updated to use a URL loader factory rather than a mock retriever, which allows the retriever to be made private. Bug: 352005196 Change-Id: I0ca64cbbb32cfa8710fdb17c419a38b7ed119d6e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5840463 Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by: Abhijith Nair <abhijithnair@chromium.org> Commit-Queue: Dustin Mitchell <djmitche@chromium.org> Reviewed-by: Richard (Torne) Coles <torne@chromium.org> Reviewed-by: Andrew Williams <awillia@chromium.org> Cr-Commit-Position: refs/heads/main@{#1354533}
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.