html_viewer: Set expected content length to -1 in ToWebURLResponse().
Currently ToWebURLResponse() is not setting the expected content length. The default value from Blink is 0. In Chromium, -1 means "Not available". This CL sets this value to -1 to be consistent with the Chromium net/ code. See content/public/common/resource_response_info.h. BUG=468489 TEST=html_viewer works with streaming servers. Review URL: https://codereview.chromium.org/1013413003 Cr-Commit-Position: refs/heads/master@{#321600}
Showing
Please register or sign in to comment