commit | 7d032b378c2081291cda3af49153d6d5673b4c2e | [log] [tgz] |
---|---|---|
author | John Abd-El-Malek <[email protected]> | Tue May 07 18:01:31 2019 |
committer | Commit Bot <[email protected]> | Tue May 07 18:01:31 2019 |
tree | 7813d42dd03d4e8a95520e70e3d1485881702a7d | |
parent | 8a93767ecd2aa0eea3fb253a8d9db5efd36dc114 [diff] |
Remove ResourceType parameter from NetworkServiceClient::OnAuthRequired. The browser needed two things: -if it was for the main frame's navigation request: it can deduce this already from the process/frame ID -if it's a cross-origin image request which depending on policy can bring up a login dialog: plumbed the policy to the renderer in RendererPreferences and reused ResourceRequest::do_not_prompt_for_login for this use case This is a step towards the TODO to remove this from network::ResourceRequest, since network service shouldn't know about this enum. Bug: 960143 Change-Id: I32b09fc11bd00a054f7069388af457fd5ffe1a39 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1595563 Commit-Queue: John Abd-El-Malek <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Cr-Commit-Position: refs/heads/master@{#657328}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .