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

Issue 1420273002: Add TransportSession interface to prepare for WebRTC-based transport. (Closed)

Created:
5 years, 2 months ago by Sergey Ulanov
Modified:
5 years, 1 month ago
Reviewers:
Jamie
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 TransportSession interface to prepare for WebRTC-based transport. Previosly JingleSession was responsible to establishing connection with the peer and managing list of channels. Now the new IceTransportSession class (that implements TransportSession interface) is responsible for managing list of channels and so it will be possible to add support for WebRTC-based transport by adding another TransportSession implementation. There are no functional changes in this CL. BUG=547158 Committed: https://crrev.com/7a5351f4c6e407e456978f6599d475616a69fc0b Cr-Commit-Position: refs/heads/master@{#356588} Committed: https://crrev.com/0b6c1c8d449971599b6b9700defd96c74b60a9f8 Cr-Commit-Position: refs/heads/master@{#356638}

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+734 lines, -408 lines) Patch
M remoting/client/jni/chromoting_jni_instance.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/session_manager_factory.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/protocol/channel_dispatcher_base.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M remoting/protocol/channel_multiplexer_unittest.cc View 5 chunks +29 lines, -20 lines 0 comments Download
M remoting/protocol/client_video_dispatcher_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/protocol/connection_to_client_unittest.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M remoting/protocol/datagram_channel_factory.h View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/fake_session.h View 1 2 chunks +22 lines, -7 lines 0 comments Download
M remoting/protocol/fake_session.cc View 2 chunks +31 lines, -8 lines 0 comments Download
A remoting/protocol/ice_transport_factory.h View 1 chunk +46 lines, -0 lines 0 comments Download
A remoting/protocol/ice_transport_factory.cc View 1 chunk +37 lines, -0 lines 0 comments Download
A remoting/protocol/ice_transport_session.h View 1 chunk +95 lines, -0 lines 0 comments Download
A remoting/protocol/ice_transport_session.cc View 1 2 1 chunk +193 lines, -0 lines 0 comments Download
M remoting/protocol/jingle_messages.h View 3 chunks +33 lines, -21 lines 0 comments Download
M remoting/protocol/jingle_messages.cc View 8 chunks +55 lines, -53 lines 0 comments Download
M remoting/protocol/jingle_messages_unittest.cc View 1 chunk +5 lines, -1 line 0 comments Download
M remoting/protocol/jingle_session.h View 7 chunks +11 lines, -48 lines 0 comments Download
M remoting/protocol/jingle_session.cc View 13 chunks +36 lines, -161 lines 0 comments Download
M remoting/protocol/jingle_session_unittest.cc View 8 chunks +44 lines, -28 lines 0 comments Download
M remoting/protocol/libjingle_transport_factory.h View 3 chunks +5 lines, -13 lines 0 comments Download
M remoting/protocol/libjingle_transport_factory.cc View 1 chunk +0 lines, -1 line 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 1 chunk +1 line, -2 lines 0 comments Download
M remoting/protocol/session.h View 2 chunks +6 lines, -9 lines 0 comments Download
M remoting/protocol/transport.h View 1 2 3 5 chunks +57 lines, -18 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/test/protocol_perftest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M remoting/test/test_chromoting_client.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (6 generated)
Sergey Ulanov
https://codereview.chromium.org/1420273002/diff/20001/remoting/protocol/jingle_session.h File remoting/protocol/jingle_session.h (right): https://codereview.chromium.org/1420273002/diff/20001/remoting/protocol/jingle_session.h#newcode46 remoting/protocol/jingle_session.h:46: StreamChannelFactory* GetQuicChannelFactory() override; Note that this can potentially be ...
5 years, 2 months ago (2015-10-23 19:35:21 UTC) #3
Jamie
Is there any part of this CL you'd like me to pay particular attention to? ...
5 years, 1 month ago (2015-10-27 21:32:27 UTC) #4
Sergey Ulanov
On 2015/10/27 21:32:27, Jamie wrote: > Is there any part of this CL you'd like ...
5 years, 1 month ago (2015-10-27 23:03:52 UTC) #5
Sergey Ulanov
https://codereview.chromium.org/1420273002/diff/20001/remoting/protocol/client_video_dispatcher_unittest.cc File remoting/protocol/client_video_dispatcher_unittest.cc (right): https://codereview.chromium.org/1420273002/diff/20001/remoting/protocol/client_video_dispatcher_unittest.cc#newcode76 remoting/protocol/client_video_dispatcher_unittest.cc:76: session_.GetTransportSession()->GetStreamChannelFactory()->GetFakeChannel( On 2015/10/27 21:32:27, Jamie wrote: > Break before ...
5 years, 1 month ago (2015-10-27 23:03:58 UTC) #6
Jamie
Thanks for narrowing it down for me :) https://codereview.chromium.org/1420273002/diff/40001/remoting/protocol/transport.h File remoting/protocol/transport.h (right): https://codereview.chromium.org/1420273002/diff/40001/remoting/protocol/transport.h#newcode146 remoting/protocol/transport.h:146: // ...
5 years, 1 month ago (2015-10-27 23:46:00 UTC) #7
Sergey Ulanov
https://codereview.chromium.org/1420273002/diff/40001/remoting/protocol/transport.h File remoting/protocol/transport.h (right): https://codereview.chromium.org/1420273002/diff/40001/remoting/protocol/transport.h#newcode146 remoting/protocol/transport.h:146: // |transport_info| is in invalid format. On 2015/10/27 23:46:00, ...
5 years, 1 month ago (2015-10-28 17:23:40 UTC) #8
Jamie
lgtm
5 years, 1 month ago (2015-10-28 17:26:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420273002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420273002/60001
5 years, 1 month ago (2015-10-28 17:47:40 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-10-28 18:24:51 UTC) #12
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/7a5351f4c6e407e456978f6599d475616a69fc0b Cr-Commit-Position: refs/heads/master@{#356588}
5 years, 1 month ago (2015-10-28 18:26:39 UTC) #13
Georges Khalil
On 2015/10/28 18:26:39, commit-bot: I haz the power wrote: > Patchset 4 (id:??) landed as ...
5 years, 1 month ago (2015-10-28 18:46:25 UTC) #14
Georges Khalil
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1413813006/ by georgesak@chromium.org. ...
5 years, 1 month ago (2015-10-28 18:47:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420273002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420273002/80001
5 years, 1 month ago (2015-10-28 20:08:24 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-10-28 20:48:51 UTC) #20
commit-bot: I haz the power
5 years, 1 month ago (2015-10-28 20:50:17 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0b6c1c8d449971599b6b9700defd96c74b60a9f8
Cr-Commit-Position: refs/heads/master@{#356638}

Powered by Google App Engine
This is Rietveld 408576698