Fix communication with autofill server on iOS
This CL restores the communication of Chrome on iOS with the Autofill server. It broke by commit fc59bb21 which assigned trusted_params to the network request. However, the URLLoaderFactory originated from BrowserState and was therefore shared and not trusted. As per the documentaiton of trusted_params: "Setting these from an untrusted URLLoader will cause the request to fail." This CL removes the trusted_params to bring Autofill back to a working situation. Maybe the iOS or network stack folks can see whether we want to have special URLLoaderFactories for components on iOS. I don't see a precedence for that. Bug: 1031136 Change-Id: Ic2e04f37f3a30e8adb98e23f19205be09fa5375a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1953707Reviewed-by:Matt Menke <mmenke@chromium.org> Reviewed-by:
Olivier Robin <olivierrobin@chromium.org> Commit-Queue: Dominic Battré <battre@chromium.org> Cr-Commit-Position: refs/heads/master@{#722493}
Showing
Please register or sign in to comment