Clean up timeout timer handling in ThreadableLoader
* Don't take a timeout in ThreadableLoader constructor * Rename OverrideTimeout() to SetTimeout(), use it as the only way to set a timeout. * Stop using base::Optional for the timeout. The more I look at it, the less it adds, especially when the timeout isn't passed in the constructor. TBR=peter@chromium.org,yhirano@chromium.org Change-Id: I8d2e7f1099110399e0fe187432b04760fbc79cac Reviewed-on: https://chromium-review.googlesource.com/1150865 Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by:Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#578505}
Showing
Please register or sign in to comment