DescriptionUpdate ConnectionEventTracker to check if there is an in progress attempt.
It is possible to get EndConnectionAttempt when there is not an in progress
event, because EndConnectionAttempt is called from SignalConnectionReset,
which will be called any time the network changes state.
This CL modifies the code to only save the current_event_ if it has data.
This also adds a test to validate that multiple SignalConnectionReset
calls don't result in saving empty events.
BUG=662983
Review-Url: https://codereview.chromium.org/2628733004
Cr-Commit-Position: refs/heads/master@{#443885}
Committed: https://chromium.googlesource.com/chromium/src/+/9d9e71b1d98b8a2ae88d8661cbf15ce23e6c3513
Patch Set 1 #
Total comments: 3
Patch Set 2 : Expose EventInProgress() to ConnectionFactoryImpl so that it can control whether EndConnectionAttem… #
Total comments: 6
Patch Set 3 : Rebase and fix nits #
Depends on Patchset: Messages
Total messages: 16 (7 generated)
|