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

Issue 473073002: Move hello message from It2MeService to It2MeChannel (Closed)

Created:
6 years, 4 months ago by kelvinp
Modified:
6 years, 4 months ago
Reviewers:
Jamie, dcaiafa
CC:
chromium-reviews, chromoting-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Move hello message from It2MeService to It2MeChannel Currently, Hangouts sends a hello message to the webapp before establishing a long-lived connection. After this CL, Hangouts will establish the connection first and then send a hello message. If the webapp is not installed, Hangouts will receive a disconnect event on the port. If the webapp is installed, Hangouts will receive a hello response with the list of supported features. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290127

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Address CR feedback #

Total comments: 11

Patch Set 3 : One bird per stone #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -54 lines) Patch
M remoting/webapp/background/it2me_helper_channel.js View 1 2 3 chunks +24 lines, -3 lines 0 comments Download
M remoting/webapp/background/it2me_service.js View 2 chunks +0 lines, -38 lines 0 comments Download
M remoting/webapp/unittests/it2me_helper_channel_unittest.js View 1 2 1 chunk +10 lines, -0 lines 1 comment Download
M remoting/webapp/unittests/it2me_service_unittest.js View 1 2 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
kelvinp
6 years, 4 months ago (2014-08-14 22:28:20 UTC) #1
Jamie
Please avoid long lines in CL descriptions; the tool doesn't handle them very well. https://codereview.chromium.org/473073002/diff/20001/remoting/webapp/background/it2me_helper_channel.js ...
6 years, 4 months ago (2014-08-15 19:11:46 UTC) #2
kelvinp
PTAL https://codereview.chromium.org/473073002/diff/20001/remoting/webapp/background/it2me_helper_channel.js File remoting/webapp/background/it2me_helper_channel.js (right): https://codereview.chromium.org/473073002/diff/20001/remoting/webapp/background/it2me_helper_channel.js#newcode156 remoting/webapp/background/it2me_helper_channel.js:156: method: message.method + 'Response', On 2014/08/15 19:11:46, Jamie ...
6 years, 4 months ago (2014-08-15 21:28:33 UTC) #3
Jamie
https://codereview.chromium.org/473073002/diff/80001/remoting/webapp/background/it2me_helper_channel.js File remoting/webapp/background/it2me_helper_channel.js (right): https://codereview.chromium.org/473073002/diff/80001/remoting/webapp/background/it2me_helper_channel.js#newcode175 remoting/webapp/background/it2me_helper_channel.js:175: method: MessageTypes.ERROR, My comment about appending "Response" was just ...
6 years, 4 months ago (2014-08-15 21:57:32 UTC) #4
kelvinp
I have pulled my changes to clean up the error reporting interface in a separate ...
6 years, 4 months ago (2014-08-15 23:25:01 UTC) #5
Jamie
LGTM with optional test improvement. https://codereview.chromium.org/473073002/diff/100001/remoting/webapp/unittests/it2me_helper_channel_unittest.js File remoting/webapp/unittests/it2me_helper_channel_unittest.js (right): https://codereview.chromium.org/473073002/diff/100001/remoting/webapp/unittests/it2me_helper_channel_unittest.js#newcode70 remoting/webapp/unittests/it2me_helper_channel_unittest.js:70: supportedFeatures: base.values(remoting.It2MeHelperChannel.Features) This is ...
6 years, 4 months ago (2014-08-15 23:30:12 UTC) #6
kelvinp
The CQ bit was checked by kelvinp@chromium.org
6 years, 4 months ago (2014-08-15 23:38:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kelvinp@chromium.org/473073002/100001
6 years, 4 months ago (2014-08-15 23:41:45 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-16 04:48:00 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-16 08:08:40 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (100001) as 290127

Powered by Google App Engine
This is Rietveld 408576698