Switch the NetworkContext PreconnectSockets interface to a credentials boolean.
Specifying privacy_mode and load_flags separately risks the callers mixing the two up, which can corrupt the socket pool state. Indeed network_context_unittest.cc itself mixes them up. Along the way, fix the documentation which claims privacy_mode makes the connection untrackable, which is false. The only thing it does is pools it with different requests. This CL should be a no-op behavior-wise. Bug: 799935 Change-Id: Iaf770cd556d7dbfaa296abfac22c070ecc903c50 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1752628Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Reviewed-by:
Ken Buchanan <kenrb@chromium.org> Reviewed-by:
Egor Pasko <pasko@chromium.org> Reviewed-by:
Matt Menke <mmenke@chromium.org> Commit-Queue: David Benjamin <davidben@chromium.org> Cr-Commit-Position: refs/heads/master@{#688237}
Showing
This diff is collapsed.
Please register or sign in to comment