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

Issue 1237093004: Support for connecting to localhost on the chromoting test driver. (Closed)

Created:
5 years, 5 months ago by tonychun
Modified:
5 years, 5 months ago
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

Support for connecting to localhost on the chromoting test driver. Completed connection to localhost. I've added a new StartConnection method in TestChromotingClient which reuses almost all of the code provided to create a chromoting connection. In addition, I've added a new parameter called "client-pin", which will allow for the user to pass in a PIN to authenticate the connection. BUG= Committed: https://crrev.com/f21b41ef4aa2b84f0be11fdc95c47cf54e543e1f Cr-Commit-Position: refs/heads/master@{#339504}

Patch Set 1 #

Total comments: 25

Patch Set 2 : Refactored App Remoting and Chromoting code to share StartConnection method. #

Total comments: 30

Patch Set 3 : Cleaned up ConnectionSetupInfo, comments, and merge changes. #

Total comments: 30

Patch Set 4 : Edited merge errors, comments, and optimized code. #

Total comments: 20

Patch Set 5 : Made changes to comments and variable name. #

Total comments: 10

Patch Set 6 : Made changes to comments and removed unused headers. #

Total comments: 3

Patch Set 7 : Made changes to unittest to use ConnectionSetupInfo. #

Total comments: 1

Patch Set 8 : Indent fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -58 lines) Patch
M remoting/remoting_test.gypi View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M remoting/test/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/test/app_remoting_connection_helper.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M remoting/test/chromoting_test_driver.cc View 1 2 3 4 5 6 7 7 chunks +38 lines, -8 lines 0 comments Download
A remoting/test/connection_setup_info.h View 1 2 4 5 1 chunk +46 lines, -0 lines 0 comments Download
A remoting/test/connection_setup_info.cc View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M remoting/test/host_info.h View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M remoting/test/host_info.cc View 1 2 3 4 2 chunks +32 lines, -0 lines 0 comments Download
M remoting/test/remote_host_info.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M remoting/test/remote_host_info.cc View 1 2 3 4 5 3 chunks +27 lines, -1 line 0 comments Download
M remoting/test/test_chromoting_client.h View 1 2 3 4 5 3 chunks +5 lines, -6 lines 0 comments Download
M remoting/test/test_chromoting_client.cc View 1 2 3 4 5 6 chunks +29 lines, -31 lines 0 comments Download
M remoting/test/test_chromoting_client_unittest.cc View 1 2 3 4 5 6 6 chunks +9 lines, -8 lines 0 comments Download

Messages

Total messages: 26 (5 generated)
tonychun
Added support to connect to a remote host (that does not have third party authentication) ...
5 years, 5 months ago (2015-07-14 17:30:20 UTC) #2
joedow
https://codereview.chromium.org/1237093004/diff/1/remoting/remoting_test.gypi File remoting/remoting_test.gypi (right): https://codereview.chromium.org/1237093004/diff/1/remoting/remoting_test.gypi#newcode124 remoting/remoting_test.gypi:124: 'test/host_info.h', Why were the chromoting and app remoting specific ...
5 years, 5 months ago (2015-07-14 19:58:44 UTC) #3
tonychun
Refactored code so that Chromoting and App Remoting both use the same StartConnection() method. https://codereview.chromium.org/1237093004/diff/1/remoting/remoting_test.gypi ...
5 years, 5 months ago (2015-07-15 17:32:50 UTC) #4
anandc
https://codereview.chromium.org/1237093004/diff/1/remoting/remoting_test.gypi File remoting/remoting_test.gypi (right): https://codereview.chromium.org/1237093004/diff/1/remoting/remoting_test.gypi#newcode141 remoting/remoting_test.gypi:141: '../remoting/proto/chromotocol.gyp:chromotocol_proto_lib', On 2015/07/15 17:32:50, tonychun wrote: > On 2015/07/14 ...
5 years, 5 months ago (2015-07-15 21:12:29 UTC) #6
joedow
https://codereview.chromium.org/1237093004/diff/20001/remoting/remoting_test.gypi File remoting/remoting_test.gypi (right): https://codereview.chromium.org/1237093004/diff/20001/remoting/remoting_test.gypi#newcode126 remoting/remoting_test.gypi:126: 'test/connection_info.h', sync with Sergey on this as he has ...
5 years, 5 months ago (2015-07-16 03:23:19 UTC) #7
tonychun
Merged with Sergey's code and cleaned up comments and ConnectionSetupInfo. https://codereview.chromium.org/1237093004/diff/20001/remoting/remoting_test.gypi File remoting/remoting_test.gypi (right): https://codereview.chromium.org/1237093004/diff/20001/remoting/remoting_test.gypi#newcode126 ...
5 years, 5 months ago (2015-07-16 23:12:08 UTC) #8
joedow
https://codereview.chromium.org/1237093004/diff/60001/remoting/BUILD.gn File remoting/BUILD.gn (right): https://codereview.chromium.org/1237093004/diff/60001/remoting/BUILD.gn#newcode79 remoting/BUILD.gn:79: # Files from remoting_test_common not in separate test_support targets. ...
5 years, 5 months ago (2015-07-16 23:26:34 UTC) #9
Sergey Ulanov
https://codereview.chromium.org/1237093004/diff/60001/remoting/BUILD.gn File remoting/BUILD.gn (right): https://codereview.chromium.org/1237093004/diff/60001/remoting/BUILD.gn#newcode78 remoting/BUILD.gn:78: sources = [ This looks like a failed merge. ...
5 years, 5 months ago (2015-07-16 23:42:10 UTC) #10
tonychun
Fixed merge errors, comments, and optimized code. https://codereview.chromium.org/1237093004/diff/60001/remoting/BUILD.gn File remoting/BUILD.gn (right): https://codereview.chromium.org/1237093004/diff/60001/remoting/BUILD.gn#newcode78 remoting/BUILD.gn:78: sources = ...
5 years, 5 months ago (2015-07-17 16:25:49 UTC) #11
joedow
https://codereview.chromium.org/1237093004/diff/80001/remoting/test/chromoting_test_driver.cc File remoting/test/chromoting_test_driver.cc (right): https://codereview.chromium.org/1237093004/diff/80001/remoting/test/chromoting_test_driver.cc#newcode43 remoting/test/chromoting_test_driver.cc:43: const unsigned int kConnectionTimeout = 10; You should add ...
5 years, 5 months ago (2015-07-17 23:26:30 UTC) #13
tonychun
Cleaned up unused headers and added new lines for readability. https://codereview.chromium.org/1237093004/diff/80001/remoting/test/chromoting_test_driver.cc File remoting/test/chromoting_test_driver.cc (right): https://codereview.chromium.org/1237093004/diff/80001/remoting/test/chromoting_test_driver.cc#newcode43 ...
5 years, 5 months ago (2015-07-20 14:29:18 UTC) #14
joedow
https://codereview.chromium.org/1237093004/diff/100001/remoting/remoting_test.gypi File remoting/remoting_test.gypi (right): https://codereview.chromium.org/1237093004/diff/100001/remoting/remoting_test.gypi#newcode108 remoting/remoting_test.gypi:108: # A chromoting version of remoting_test_driver_common This comment looks ...
5 years, 5 months ago (2015-07-20 16:39:53 UTC) #15
tonychun
Removed comments and unused headers. https://codereview.chromium.org/1237093004/diff/100001/remoting/remoting_test.gypi File remoting/remoting_test.gypi (right): https://codereview.chromium.org/1237093004/diff/100001/remoting/remoting_test.gypi#newcode108 remoting/remoting_test.gypi:108: # A chromoting version ...
5 years, 5 months ago (2015-07-20 18:13:01 UTC) #16
joedow
https://codereview.chromium.org/1237093004/diff/120001/remoting/test/test_chromoting_client_unittest.cc File remoting/test/test_chromoting_client_unittest.cc (right): https://codereview.chromium.org/1237093004/diff/120001/remoting/test/test_chromoting_client_unittest.cc#newcode9 remoting/test/test_chromoting_client_unittest.cc:9: #include "remoting/test/remote_host_info.h" Sorry for the late comment on this ...
5 years, 5 months ago (2015-07-20 18:23:07 UTC) #17
tonychun
Made changes to support ConnectionSetupInfo in unittest.
5 years, 5 months ago (2015-07-20 18:34:45 UTC) #18
joedow
5 years, 5 months ago (2015-07-20 18:37:58 UTC) #19
joedow
lgtm
5 years, 5 months ago (2015-07-20 18:38:00 UTC) #20
Sergey Ulanov
lgtm https://codereview.chromium.org/1237093004/diff/140001/remoting/test/chromoting_test_driver.cc File remoting/test/chromoting_test_driver.cc (right): https://codereview.chromium.org/1237093004/diff/140001/remoting/test/chromoting_test_driver.cc#newcode309 remoting/test/chromoting_test_driver.cc:309: base::TimeDelta::FromSeconds(kConnectionTimeoutSeconds), nit: indentation.
5 years, 5 months ago (2015-07-20 19:19:29 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1237093004/160001
5 years, 5 months ago (2015-07-20 19:30:51 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:160001)
5 years, 5 months ago (2015-07-20 20:29:18 UTC) #25
commit-bot: I haz the power
5 years, 5 months ago (2015-07-20 20:30:08 UTC) #26
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/f21b41ef4aa2b84f0be11fdc95c47cf54e543e1f
Cr-Commit-Position: refs/heads/master@{#339504}

Powered by Google App Engine
This is Rietveld 408576698