DocumentThreadableLoader cleanup after making sync/async paths nearly-identical.
https://chromium.googlesource.com/chromium/src/+/b5c5c86c21a0bf51cc910e0b62611aea45aa0b0d removed most of the custom logic for sync requests from DocumentThreadableLoader. This left a lot of helper methods with only one caller, where previously there had been two. * Inline HandleResponse() into ResponseReceived() * Inline HandleReceivedData() into DataReceived() * Inline HandleSuccessfulFinish() into NotifyFinished() * Merge LoadRequestAsync() and LoadRequestSync() paths, and inline the single path into LoadRequest(). Change-Id: Ie068b49396c355884e2d71588b35280dbe07a86f Reviewed-on: https://chromium-review.googlesource.com/1087312 Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#565404}
Showing
Please register or sign in to comment