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

Issue 2792483002: [CrOS Tether] Create TetherConnector, which attempts to connect to a nearby tether host. (Closed)

Created:
3 years, 8 months ago by Kyle Horimoto
Modified:
3 years, 8 months ago
CC:
chromium-reviews, jlklein+watch-tether_chromium.org, tengs+watch-tether_chromium.org, hansberry+watch-tether_chromium.org, jhawkins+watch-tether_chromium.org, oshima+watch_chromium.org, khorimoto+watch-tether_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[CrOS Tether] Create TetherConnector, which attempts to connect to a nearby tether host. This class covers the entire connection process, from a UI callback (when the user clicks a tether network) to connecting to the associated device's Wi-Fi network. BUG=672263 Review-Url: https://codereview.chromium.org/2792483002 Cr-Commit-Position: refs/heads/master@{#462712} Committed: https://chromium.googlesource.com/chromium/src/+/1d73b1aebe5f3a978a5a87c7502689b49ba1b134

Patch Set 1 #

Patch Set 2 : Set upstream branch. #

Patch Set 3 : Added tests - ready for review. #

Patch Set 4 : Fixed crash when CTResponse is received. #

Patch Set 5 : Removed unused variable. #

Total comments: 2

Patch Set 6 : hansberry@ comment. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+956 lines, -41 lines) Patch
M chromeos/components/tether/BUILD.gn View 1 3 chunks +5 lines, -0 lines 0 comments Download
M chromeos/components/tether/connect_tethering_operation.h View 1 2 3 4 2 chunks +13 lines, -5 lines 2 comments Download
M chromeos/components/tether/connect_tethering_operation.cc View 1 2 3 6 chunks +27 lines, -18 lines 0 comments Download
M chromeos/components/tether/connect_tethering_operation_unittest.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
A chromeos/components/tether/device_id_tether_network_guid_map.h View 1 chunk +42 lines, -0 lines 0 comments Download
A chromeos/components/tether/device_id_tether_network_guid_map.cc View 1 chunk +29 lines, -0 lines 0 comments Download
M chromeos/components/tether/fake_wifi_hotspot_connector.h View 1 2 2 chunks +1 line, -9 lines 0 comments Download
M chromeos/components/tether/fake_wifi_hotspot_connector.cc View 1 2 1 chunk +2 lines, -9 lines 0 comments Download
A chromeos/components/tether/tether_connector.h View 1 2 1 chunk +98 lines, -0 lines 0 comments Download
A chromeos/components/tether/tether_connector.cc View 1 2 3 4 5 1 chunk +247 lines, -0 lines 0 comments Download
A chromeos/components/tether/tether_connector_unittest.cc View 1 2 1 chunk +486 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
Kyle Horimoto
3 years, 8 months ago (2017-04-05 19:02:50 UTC) #2
Ryan Hansberry
https://codereview.chromium.org/2792483002/diff/80001/chromeos/components/tether/tether_connector.cc File chromeos/components/tether/tether_connector.cc (right): https://codereview.chromium.org/2792483002/diff/80001/chromeos/components/tether/tether_connector.cc#newcode124 chromeos/components/tether/tether_connector.cc:124: connect_tethering_operation_.reset(); You are deleting connect_tethering_operation_ here, but below pass ...
3 years, 8 months ago (2017-04-06 02:17:44 UTC) #3
Kyle Horimoto
https://codereview.chromium.org/2792483002/diff/80001/chromeos/components/tether/tether_connector.cc File chromeos/components/tether/tether_connector.cc (right): https://codereview.chromium.org/2792483002/diff/80001/chromeos/components/tether/tether_connector.cc#newcode124 chromeos/components/tether/tether_connector.cc:124: connect_tethering_operation_.reset(); On 2017/04/06 02:17:44, Ryan Hansberry wrote: > You ...
3 years, 8 months ago (2017-04-06 17:10:54 UTC) #4
Ryan Hansberry
lgtm
3 years, 8 months ago (2017-04-06 17:21:03 UTC) #5
Jeremy Klein
lgtm https://codereview.chromium.org/2792483002/diff/100001/chromeos/components/tether/connect_tethering_operation.h File chromeos/components/tether/connect_tethering_operation.h (right): https://codereview.chromium.org/2792483002/diff/100001/chromeos/components/tether/connect_tethering_operation.h#newcode93 chromeos/components/tether/connect_tethering_operation.h:93: ConnectTetheringResponse_ResponseCode error_code_to_return_; nit: I'd call this response_code_to_return to ...
3 years, 8 months ago (2017-04-06 21:04:15 UTC) #7
Kyle Horimoto
https://codereview.chromium.org/2792483002/diff/100001/chromeos/components/tether/connect_tethering_operation.h File chromeos/components/tether/connect_tethering_operation.h (right): https://codereview.chromium.org/2792483002/diff/100001/chromeos/components/tether/connect_tethering_operation.h#newcode93 chromeos/components/tether/connect_tethering_operation.h:93: ConnectTetheringResponse_ResponseCode error_code_to_return_; On 2017/04/06 21:04:15, Jeremy Klein wrote: > ...
3 years, 8 months ago (2017-04-06 21:33:53 UTC) #8
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/2792483002/100001
3 years, 8 months ago (2017-04-06 21:35:32 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/47929)
3 years, 8 months ago (2017-04-06 23:34:52 UTC) #12
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/2792483002/100001
3 years, 8 months ago (2017-04-06 23:38:12 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 00:41:03 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/1d73b1aebe5f3a978a5a87c75026...

Powered by Google App Engine
This is Rietveld 408576698