commit | 402dbf5a71ebb19797dec03f63640ec17aff8c6f | [log] [tgz] |
---|---|---|
author | Antonio Gomes <tonikitoo@igalia.com> | Thu Aug 02 11:06:41 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 02 11:06:41 2018 |
tree | 9ffe286f75dfa82e430097f42514ff077bfbfbce | |
parent | 2f0bee383d08b917bf82d45a4686f0c441aeec0a [diff] |
Set more URLLoaderCompletionStatus data for successful FileURLLoaderFactory loads This CL allows SimpleURLLoader's to successfully load file:// URLs, ie when using FileURLLoaderFactory. Prior to this CL, even on the file specified in the file:// URL is written successfully, the URLLoaderCompletionStatus instance is passed to the URLLoaderClient from FileURLLoader::OnFileWritten, had only with the |error_code| set. SimpleURLLoader checks other URLLoaderCompletionStatus class members, (eg |decoded_body_length|) in order to consider the load actually successful. BUG=773295,844928 Change-Id: I1040775fad2af7f0eb88f81e48bb355d48e5fc31 Reviewed-on: https://chromium-review.googlesource.com/1159042 Reviewed-by: John Abd-El-Malek <jam@chromium.org> Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Cr-Commit-Position: refs/heads/master@{#580130}
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 .