Refactor SimpleURLLoader API.
Make it take in a unique_ptr<content::ResourceRequest>, to avoid having to copy it on retry, or when making a delayed request. Also make the constructor take the ResourceRequest and NetworkAnnotation as parameters, to simplify things a little. TBR=jdufault@chromium.org Bug: 746977 Change-Id: Ic0e2a573c8b8601e2b1ab9a4b58430006b8679dc Reviewed-on: https://chromium-review.googlesource.com/777587 Commit-Queue: Matt Menke <mmenke@chromium.org> Reviewed-by:John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Randy Smith <rdsmith@chromium.org> Cr-Commit-Position: refs/heads/master@{#518451}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment