Description[Webapp Refactor] Cleans up the ClientSession.EventHandler interface.
This CL provides a cleaner way to report session state changes with the following:
1. Removes onError() callback on ClientSession Handler. Instead, if an error
is encountered before the session connects, onConnectionFailed() will be called,
and similarly, onDisconnected() will be called for errors encountered after
a session is connected.
2. Removes the sessionStateChanged event on clientSession, so session state
are reported consistently through the ClientSession.EventHandler interface.
BUG=477522
Committed: https://crrev.com/79a9a66e3152beef0545632aa30315456f2ebe74
Cr-Commit-Position: refs/heads/master@{#326853}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 7 (2 generated)
|