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

Issue 976233003: Adding the base ChromotingInstance implementation and unittests. This class will be used by the ap… (Closed)

Created:
5 years, 9 months ago by joedow
Modified:
5 years, 4 months ago
Reviewers:
Sergey Ulanov, Wez
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

Adding the base ChromotingInstance implementation and unittests. This class will be used by the app remoting test driver in a subsequent checkin. BUG=464808 Committed: https://crrev.com/20fd2b06a7e26f7ad265912f8c8d322c3cb5a306 Cr-Commit-Position: refs/heads/master@{#320161}

Patch Set 1 #

Patch Set 2 : Fixing a memory leak that was found via the ASAN try-bot #

Patch Set 3 : Fixing a unit test name #

Total comments: 44

Patch Set 4 : Addressing Sergey's feedback #

Total comments: 32

Patch Set 5 : Addressing second round of feedback #

Patch Set 6 : Fixing some TODOs and misc tweaks #

Patch Set 7 : Fixing Release Build Break #

Total comments: 5

Patch Set 8 : Addressing Final Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1426 lines, -684 lines) Patch
M remoting/BUILD.gn View 1 2 3 4 chunks +15 lines, -0 lines 0 comments Download
M remoting/client/chromoting_client.h View 1 2 3 4 4 chunks +9 lines, -5 lines 0 comments Download
M remoting/client/chromoting_client.cc View 1 2 3 4 4 chunks +23 lines, -19 lines 0 comments Download
M remoting/client/client_status_logger.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M remoting/client/server_log_entry_client.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M remoting/protocol/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/protocol/connection_to_host.h View 1 2 3 4 5 6 7 3 chunks +18 lines, -101 lines 0 comments Download
D remoting/protocol/connection_to_host.cc View 1 2 3 4 1 chunk +0 lines, -305 lines 0 comments Download
A remoting/protocol/connection_to_host_impl.h View 1 2 3 4 5 6 7 1 chunk +136 lines, -0 lines 0 comments Download
A + remoting/protocol/connection_to_host_impl.cc View 1 2 3 4 5 11 chunks +40 lines, -42 lines 0 comments Download
A remoting/protocol/fake_connection_to_host.h View 1 2 3 4 5 1 chunk +65 lines, -0 lines 0 comments Download
A remoting/protocol/fake_connection_to_host.cc View 1 2 3 4 5 1 chunk +118 lines, -0 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 1 2 3 4 5 6 7 10 chunks +33 lines, -33 lines 0 comments Download
M remoting/remoting_srcs.gypi View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M remoting/remoting_test.gypi View 1 2 3 4 4 chunks +16 lines, -0 lines 0 comments Download
M remoting/test/access_token_fetcher_unittest.cc View 1 2 3 14 chunks +136 lines, -178 lines 0 comments Download
A remoting/test/remote_connection_observer.h View 1 2 3 4 1 chunk +57 lines, -0 lines 0 comments Download
A remoting/test/test_chromoting_client.h View 1 2 3 4 5 6 7 1 chunk +113 lines, -0 lines 0 comments Download
A remoting/test/test_chromoting_client.cc View 1 2 3 4 1 chunk +340 lines, -0 lines 0 comments Download
A remoting/test/test_chromoting_client_unittest.cc View 1 2 3 4 1 chunk +211 lines, -0 lines 0 comments Download
A remoting/test/test_video_renderer.h View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
A remoting/test/test_video_renderer.cc View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
joedow
Adding the ChromotingInstance class and unittests for use with the App Remoting Test Driver. This ...
5 years, 9 months ago (2015-03-07 01:03:01 UTC) #2
Sergey Ulanov
https://codereview.chromium.org/976233003/diff/40001/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc (right): https://codereview.chromium.org/976233003/diff/40001/remoting/client/chromoting_client.cc#newcode36 remoting/client/chromoting_client.cc:36: connection_.reset(new protocol::ConnectionToHost()); this should be in the initializer list ...
5 years, 9 months ago (2015-03-09 06:44:41 UTC) #3
joedow
Thanks for the feedback Sergey! I've updated my CL, PTAL. Thanks! Joe https://codereview.chromium.org/976233003/diff/40001/remoting/client/chromoting_client.cc File remoting/client/chromoting_client.cc ...
5 years, 9 months ago (2015-03-09 21:09:26 UTC) #4
chromium-reviews
Ping :) On Mon, Mar 9, 2015 at 2:09 PM, <joedow@chromium.org> wrote: > Thanks for ...
5 years, 9 months ago (2015-03-10 17:49:21 UTC) #5
Sergey Ulanov
https://codereview.chromium.org/976233003/diff/60001/remoting/protocol/fake_connection_to_host.cc File remoting/protocol/fake_connection_to_host.cc (right): https://codereview.chromium.org/976233003/diff/60001/remoting/protocol/fake_connection_to_host.cc#newcode34 remoting/protocol/fake_connection_to_host.cc:34: void FakeConnectionToHost::OnSessionStateChange( I'm not sure why you need this. ...
5 years, 9 months ago (2015-03-11 00:09:52 UTC) #6
joedow
Updated based on Sergey's second round of feedback, PTAL! Thanks, Joe https://codereview.chromium.org/976233003/diff/60001/remoting/protocol/fake_connection_to_host.cc File remoting/protocol/fake_connection_to_host.cc (right): ...
5 years, 9 months ago (2015-03-11 19:06:40 UTC) #7
joedow
The connection_to_host refactor caused a release only build break which I have fixed and it ...
5 years, 9 months ago (2015-03-11 20:09:35 UTC) #8
Sergey Ulanov
lgtm https://codereview.chromium.org/976233003/diff/120001/remoting/protocol/connection_to_host.h File remoting/protocol/connection_to_host.h (right): https://codereview.chromium.org/976233003/diff/120001/remoting/protocol/connection_to_host.h#newcode13 remoting/protocol/connection_to_host.h:13: #include "remoting/proto/internal.pb.h" I don't think we need this ...
5 years, 9 months ago (2015-03-11 20:22:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/976233003/140001
5 years, 9 months ago (2015-03-11 20:43:13 UTC) #12
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 9 months ago (2015-03-11 22:08:12 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-11 22:09:10 UTC) #14
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/20fd2b06a7e26f7ad265912f8c8d322c3cb5a306
Cr-Commit-Position: refs/heads/master@{#320161}

Powered by Google App Engine
This is Rietveld 408576698