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

Issue 1520323007: Simplify ConnectionToHost interface. (Closed)

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

Description

Simplify ConnectionToHost interface. Previously ConnectionToHost was responsible for monitoring state of the signaling connection and creation of JingleSessionManager. Because of this it was harder to test and the corresponding logic would need to be duplicated between all implementations. Now ChromotingClient monitors state of the signaling connection, creates JingleSessionManager with a Session and then passes the Session object to ConnectionToHost. Committed: https://crrev.com/06fa7c566663ee46f417da43c8de7746b1104ff0 Cr-Commit-Position: refs/heads/master@{#365854}

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -251 lines) Patch
M remoting/client/chromoting_client.h View 5 chunks +26 lines, -7 lines 0 comments Download
M remoting/client/chromoting_client.cc View 1 2 8 chunks +76 lines, -27 lines 0 comments Download
M remoting/client/client_user_interface.h View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/connection_to_host.h View 3 chunks +5 lines, -24 lines 0 comments Download
M remoting/protocol/connection_to_host_impl.h View 6 chunks +7 lines, -30 lines 0 comments Download
M remoting/protocol/connection_to_host_impl.cc View 1 2 4 chunks +6 lines, -98 lines 0 comments Download
M remoting/protocol/fake_connection_to_host.h View 2 chunks +2 lines, -7 lines 0 comments Download
M remoting/protocol/fake_connection_to_host.cc View 1 chunk +8 lines, -24 lines 0 comments Download
M remoting/test/test_chromoting_client.h View 2 chunks +4 lines, -3 lines 0 comments Download
M remoting/test/test_chromoting_client.cc View 2 chunks +18 lines, -11 lines 0 comments Download
M remoting/test/test_chromoting_client_unittest.cc View 1 2 4 chunks +11 lines, -20 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (6 generated)
Sergey Ulanov
5 years ago (2015-12-16 21:36:31 UTC) #3
joedow
lgtm https://codereview.chromium.org/1520323007/diff/20001/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc (right): https://codereview.chromium.org/1520323007/diff/20001/remoting/client/chromoting_client.cc#newcode76 remoting/client/chromoting_client.cc:76: signal_strategy_ = signal_strategy; No one should be calling ...
5 years ago (2015-12-17 16:59:45 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/1520323007/diff/20001/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc (right): https://codereview.chromium.org/1520323007/diff/20001/remoting/client/chromoting_client.cc#newcode76 remoting/client/chromoting_client.cc:76: signal_strategy_ = signal_strategy; On 2015/12/17 16:59:45, joedow wrote: > ...
5 years ago (2015-12-17 17:32:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1520323007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1520323007/40001
5 years ago (2015-12-17 17:34:00 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-17 18:17:13 UTC) #10
commit-bot: I haz the power
5 years ago (2015-12-17 18:17:56 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/06fa7c566663ee46f417da43c8de7746b1104ff0
Cr-Commit-Position: refs/heads/master@{#365854}

Powered by Google App Engine
This is Rietveld 408576698