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

Issue 2384063008: Enables delegating signal strategy for It2Me Host. (Closed)

Created:
4 years, 2 months ago by kelvinp
Modified:
4 years, 2 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enables delegating signal strategy for It2Me Host. Motivation: Allow the It2me host to delegates signaling messages sending/receiving via native messaging. Summary of changes: - Add a new flag useSignalingProxy on the connect message for com.google.chrome.remote_assistance. - Move delegating_signal_strategy from the plugin directory to the signaling directory so that it can be shared by the client and the host - Change the threading behavior of delegating_signal_strategy so that the delegate and the listener can be run on two different threads. Committed: https://crrev.com/4e572c184b4eb0a662c0a188acfa11f40173dff1 Cr-Commit-Position: refs/heads/master@{#423692}

Patch Set 1 #

Total comments: 30

Patch Set 2 : Run git cl format #

Patch Set 3 : Reviewer's feedback #

Patch Set 4 : Fix unit tests #

Total comments: 6

Patch Set 5 : Ready for Checkin #

Patch Set 6 : Rebase #

Patch Set 7 : Fix typos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -235 lines) Patch
M remoting/client/plugin/BUILD.gn View 2 chunks +1 line, -2 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
D remoting/client/plugin/delegating_signal_strategy.h View 1 chunk +0 lines, -51 lines 0 comments Download
D remoting/client/plugin/delegating_signal_strategy.cc View 1 chunk +0 lines, -74 lines 0 comments Download
M remoting/host/it2me/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/it2me/it2me_host.h View 3 chunks +6 lines, -4 lines 0 comments Download
M remoting/host/it2me/it2me_host.cc View 1 2 3 4 5 7 chunks +10 lines, -15 lines 0 comments Download
M remoting/host/it2me/it2me_host_unittest.cc View 1 2 3 4 5 3 chunks +6 lines, -7 lines 0 comments Download
M remoting/host/it2me/it2me_native_messaging_host.h View 1 2 4 chunks +7 lines, -6 lines 0 comments Download
M remoting/host/it2me/it2me_native_messaging_host.cc View 1 2 3 7 chunks +102 lines, -51 lines 0 comments Download
M remoting/host/it2me/it2me_native_messaging_host_unittest.cc View 1 2 3 3 chunks +10 lines, -5 lines 0 comments Download
M remoting/signaling/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A + remoting/signaling/delegating_signal_strategy.h View 1 2 3 4 5 6 3 chunks +23 lines, -4 lines 0 comments Download
A + remoting/signaling/delegating_signal_strategy.cc View 1 2 2 chunks +29 lines, -6 lines 0 comments Download
M remoting/signaling/fake_signal_strategy.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M remoting/signaling/xmpp_signal_strategy.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M remoting/signaling/xmpp_signal_strategy.cc View 1 2 3 4 3 chunks +8 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
kelvinp
PTAL
4 years, 2 months ago (2016-10-04 21:58:21 UTC) #3
Sergey Ulanov
Looks mostly good, but there are couple of threading issues, which should be easy to ...
4 years, 2 months ago (2016-10-05 21:49:08 UTC) #4
kelvinp
Thank you Sergey. PTAL https://codereview.chromium.org/2384063008/diff/20001/remoting/client/plugin/chromoting_instance.cc File remoting/client/plugin/chromoting_instance.cc (right): https://codereview.chromium.org/2384063008/diff/20001/remoting/client/plugin/chromoting_instance.cc#newcode676 remoting/client/plugin/chromoting_instance.cc:676: plugin_task_runner_, On 2016/10/05 21:49:06, Sergey ...
4 years, 2 months ago (2016-10-06 00:43:06 UTC) #5
Sergey Ulanov
lgtm https://codereview.chromium.org/2384063008/diff/80001/remoting/signaling/delegating_signal_strategy.h File remoting/signaling/delegating_signal_strategy.h (right): https://codereview.chromium.org/2384063008/diff/80001/remoting/signaling/delegating_signal_strategy.h#newcode24 remoting/signaling/delegating_signal_strategy.h:24: // 2. OnIncomingMessage() and |send_iq_callback| will always be ...
4 years, 2 months ago (2016-10-06 18:28:57 UTC) #6
kelvinp
FYI https://codereview.chromium.org/2384063008/diff/80001/remoting/signaling/delegating_signal_strategy.h File remoting/signaling/delegating_signal_strategy.h (right): https://codereview.chromium.org/2384063008/diff/80001/remoting/signaling/delegating_signal_strategy.h#newcode24 remoting/signaling/delegating_signal_strategy.h:24: // 2. OnIncomingMessage() and |send_iq_callback| will always be ...
4 years, 2 months ago (2016-10-06 20:30:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2384063008/140001
4 years, 2 months ago (2016-10-06 20:33:13 UTC) #12
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 2 months ago (2016-10-06 21:37:28 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 21:40:22 UTC) #15
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4e572c184b4eb0a662c0a188acfa11f40173dff1
Cr-Commit-Position: refs/heads/master@{#423692}

Powered by Google App Engine
This is Rietveld 408576698