Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Issue 1176693002: Add more host-side connection state logging for IT2Me. (Closed)

Created:
5 years, 6 months ago by Jamie
Modified:
5 years, 6 months ago
Reviewers:
kelvinp
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -53 lines) Patch
M remoting/remoting_webapp_files.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/webapp/base/js/log_to_server.js View 5 chunks +9 lines, -7 lines 0 comments Download
M remoting/webapp/base/js/server_log_entry.js View 2 chunks +4 lines, -4 lines 0 comments Download
A remoting/webapp/crd/js/buffered_signal_strategy.js View 1 chunk +107 lines, -0 lines 0 comments Download
M remoting/webapp/crd/js/host_controller.js View 1 2 3 chunks +25 lines, -25 lines 0 comments Download
M remoting/webapp/crd/js/host_screen.js View 1 2 7 chunks +82 lines, -17 lines 0 comments Download
M remoting/webapp/files.gni View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Jamie
ptal https://codereview.chromium.org/1176693002/diff/20001/remoting/webapp/crd/js/host_screen.js File remoting/webapp/crd/js/host_screen.js (right): https://codereview.chromium.org/1176693002/diff/20001/remoting/webapp/crd/js/host_screen.js#newcode43 remoting/webapp/crd/js/host_screen.js:43: it2meLogger.setSessionId(); This forces a fresh session id each ...
5 years, 6 months ago (2015-06-10 00:38:30 UTC) #2
kelvinp
lgtm https://codereview.chromium.org/1176693002/diff/20001/remoting/webapp/crd/js/host_controller.js File remoting/webapp/crd/js/host_controller.js (right): https://codereview.chromium.org/1176693002/diff/20001/remoting/webapp/crd/js/host_controller.js#newcode24 remoting/webapp/crd/js/host_controller.js:24: this.getLocalHostVersion().then(printVersion, function() { Nit: Use .catch for error ...
5 years, 6 months ago (2015-06-10 18:00:45 UTC) #3
Jamie
FYI https://codereview.chromium.org/1176693002/diff/20001/remoting/webapp/crd/js/host_controller.js File remoting/webapp/crd/js/host_controller.js (right): https://codereview.chromium.org/1176693002/diff/20001/remoting/webapp/crd/js/host_controller.js#newcode24 remoting/webapp/crd/js/host_controller.js:24: this.getLocalHostVersion().then(printVersion, function() { On 2015/06/10 18:00:45, kelvinp wrote: ...
5 years, 6 months ago (2015-06-10 18:14:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1176693002/40001
5 years, 6 months ago (2015-06-10 18:15:27 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-10 19:18:05 UTC) #8
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 19:18:55 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9ea60d8ecacbccac0221c7f576ef19d6635de1cd
Cr-Commit-Position: refs/heads/master@{#333771}

Powered by Google App Engine
This is Rietveld 408576698