commit | e6abe439b0e02f37be499c87abd791e00e91df77 | [log] [tgz] |
---|---|---|
author | Yutaka Hirano <yhirano@chromium.org> | Thu Feb 14 07:12:51 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 14 07:12:51 2019 |
tree | aeaa7a7533456bfa4d0899752a174ae6ff051517 | |
parent | da41081f41e8cf7177101b048bbf6958f107099e [diff] |
Introduce probe::PrepareRequest Split probe::PrepareRequest from probe::WillSendRequest. - probe::PrepareRequest is called from FetchContext::PrepareRequest. - probe::WillSendRequest does not modify the given request. - probe::WillSendRequest is called from FetchContext::DispatchWillSendRequest. There are some behavior changes. - The call site for FetchContext::PrepareRequest and FetchContext::DispatchWillSendRequest are somewhat distant. For example, now the "disable cache" option in devtools takes effect for MemoryCache as the modification is done in PrepareRequest which precedes ResourceFetcher::DetermineRevalidationPolicy. I updated http/tests/devtools/network/network-memory-cached-resource.js because it is affected by the "disable cache" behavior change. Bug: 924024, 914739, 632580 Change-Id: Ie25dc899b21a0588fac1a52209bd4f8e6ecae5aa Reviewed-on: https://chromium-review.googlesource.com/c/1426250 Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#632117}
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 .