-
Tim Volodine authored
Add a constructor to AwWebResourceRequest to make it possible to create AwWebResourceRequests directly from network::ResourceRequest. Also use this constructor in the new code path related to Network Service. This reduces duplicate code and increases readability in current and future code. Also because of the recent introduction of is_renderer_initiated member which is not included in any existing constructor, this patch simplifies the actual creation of requests. BUG=897149,841556 Change-Id: I91c3337fe9d9c3cb2b12f36e53b888bbeebb0d30 Reviewed-on: https://chromium-review.googlesource.com/c/1312484 Commit-Queue: Tim Volodine <timvolodine@chromium.org> Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Richard Coles <torne@chromium.org> Cr-Commit-Position: refs/heads/master@{#606477}
98cc157d