Rearrange extensions MojoDataPump::ReceiveMore and SendMore
Rearrange ReceiveMore and SendMore, so that we check MOJO_RESULT_SHOULD_WAIT before !MOJO_RESULT_OK. This CL adds three unit tests that pass with or without the change. Bug: 721401 Change-Id: I6b132b2399f9091374d037d890d7ca98ba358445 Reviewed-on: https://chromium-review.googlesource.com/1150428Reviewed-by:Reilly Grant <reillyg@chromium.org> Commit-Queue: Helen Li <xunjieli@chromium.org> Cr-Commit-Position: refs/heads/master@{#578597}
Showing
Please register or sign in to comment