Cronet: Make cancellation checking on listener exceptions atomic.
commitfafe7533f99936aeb22020e107edc3d647761ee0
authormmenke <mmenke@chromium.org>
Tue, 11 Nov 2014 23:00:39 +0000 (11 15:00 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 11 Nov 2014 23:01:02 +0000 (11 23:01 +0000)
tree9b4b40e3af227adc48e59be104d7048797327bf7
parentfb2874dc42287779892b8b6a497ccc559e202fac
Cronet:  Make cancellation checking on listener exceptions atomic.

This avoids the case of the caller cancelling between the two
operations.  Not a bug, exactly, but seems a bit more
embedder-friendly this way.

BUG=409926

Review URL: https://codereview.chromium.org/714203004

Cr-Commit-Position: refs/heads/master@{#303737}
components/cronet/android/java/src/org/chromium/net/CronetUrlRequest.java