DescriptionAdd more host-side connection state logging for IT2Me.
This CL adds INITIALIZING, CONNECTING, FAILED and CANCELED states to the host-side IT2Me
connection set-up. It has the following components:
* BufferedSignalStrategy: A new class to wrap an underlying SignalStrategy so that messages
can be logged before the XMPP connection is established. Doing otherwise would slow down
connections unnecessarily, but a consequence is that we aren't guaranteed that the new
messages will actually be logged; still it's better than the previous situation.
* Support for host-side logging in LogToServer.
* Minimal refactoring to make the code that reads the local host version publicly callable.
Note that some of this code, in particular the BufferedSignalStrategy class should go away
if we implement logging using XHRs.
BUG=497876
Committed: https://crrev.com/9ea60d8ecacbccac0221c7f576ef19d6635de1cd
Cr-Commit-Position: refs/heads/master@{#333771}
Patch Set 1 #Patch Set 2 : Log connection-canceled if the user cancels installation. #
Total comments: 5
Patch Set 3 : Reviewer feedback. #
Messages
Total messages: 9 (3 generated)
|