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

Issue 2857853005: [CrOS Tether] Create TetherDisconnector, which disconnects from active tethering sessions. (Closed)

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

Description

[CrOS Tether] Create TetherDisconnector, which disconnects from active tethering sessions. This CL also creates NetworkConnectionHandlerTetherDelegate, which controls both tether connections and disconnections when requested in NetworkConnectionHandler. BUG=672263 Review-Url: https://codereview.chromium.org/2857853005 Cr-Commit-Position: refs/heads/master@{#469256} Committed: https://chromium.googlesource.com/chromium/src/+/8d47055fe57c19eee560dfd25f5109845b1ad7fc

Patch Set 1 #

Patch Set 2 : Changed comment. #

Patch Set 3 : Ready for hansberry@ to start reviewing. #

Patch Set 4 : Rebased. #

Patch Set 5 : Test updated. #

Total comments: 2

Patch Set 6 : hansberry@ comment. #

Total comments: 4

Patch Set 7 : hansberry@ comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1378 lines, -106 lines) Patch
M chromeos/components/tether/BUILD.gn View 1 2 3 chunks +8 lines, -0 lines 0 comments Download
M chromeos/components/tether/disconnect_tethering_operation.h View 3 chunks +8 lines, -3 lines 0 comments Download
M chromeos/components/tether/disconnect_tethering_operation.cc View 3 chunks +9 lines, -3 lines 0 comments Download
M chromeos/components/tether/disconnect_tethering_operation_unittest.cc View 2 chunks +10 lines, -5 lines 0 comments Download
A chromeos/components/tether/fake_network_configuration_remover.h View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A chromeos/components/tether/fake_network_configuration_remover.cc View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M chromeos/components/tether/initializer.h View 3 chunks +5 lines, -0 lines 0 comments Download
M chromeos/components/tether/initializer.cc View 2 chunks +12 lines, -2 lines 0 comments Download
A chromeos/components/tether/network_connection_handler_tether_delegate.h View 1 1 chunk +55 lines, -0 lines 0 comments Download
A chromeos/components/tether/network_connection_handler_tether_delegate.cc View 1 chunk +47 lines, -0 lines 0 comments Download
A chromeos/components/tether/network_connection_handler_tether_delegate_unittest.cc View 1 2 3 4 1 chunk +139 lines, -0 lines 0 comments Download
M chromeos/components/tether/tether_connector.h View 1 2 3 chunks +8 lines, -8 lines 0 comments Download
M chromeos/components/tether/tether_connector.cc View 1 2 10 chunks +37 lines, -24 lines 0 comments Download
M chromeos/components/tether/tether_connector_unittest.cc View 1 2 3 15 chunks +70 lines, -61 lines 0 comments Download
A chromeos/components/tether/tether_disconnector.h View 1 2 3 4 5 1 chunk +103 lines, -0 lines 0 comments Download
A chromeos/components/tether/tether_disconnector.cc View 1 2 3 4 5 6 1 chunk +211 lines, -0 lines 0 comments Download
A chromeos/components/tether/tether_disconnector_unittest.cc View 1 2 3 4 5 6 1 chunk +590 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
Kyle Horimoto
3 years, 7 months ago (2017-05-04 00:46:08 UTC) #2
Ryan Hansberry
https://codereview.chromium.org/2857853005/diff/80001/chromeos/components/tether/tether_disconnector.h File chromeos/components/tether/tether_disconnector.h (right): https://codereview.chromium.org/2857853005/diff/80001/chromeos/components/tether/tether_disconnector.h#newcode96 chromeos/components/tether/tether_disconnector.h:96: std::unordered_map<std::string, DisconnectCallbacks> Why do we need these maps? I ...
3 years, 7 months ago (2017-05-04 01:23:01 UTC) #4
Kyle Horimoto
https://codereview.chromium.org/2857853005/diff/80001/chromeos/components/tether/tether_disconnector.h File chromeos/components/tether/tether_disconnector.h (right): https://codereview.chromium.org/2857853005/diff/80001/chromeos/components/tether/tether_disconnector.h#newcode96 chromeos/components/tether/tether_disconnector.h:96: std::unordered_map<std::string, DisconnectCallbacks> On 2017/05/04 01:23:00, Ryan Hansberry wrote: > ...
3 years, 7 months ago (2017-05-04 01:42:38 UTC) #5
Ryan Hansberry
lgtm with nits https://codereview.chromium.org/2857853005/diff/100001/chromeos/components/tether/tether_disconnector.cc File chromeos/components/tether/tether_disconnector.cc (right): https://codereview.chromium.org/2857853005/diff/100001/chromeos/components/tether/tether_disconnector.cc#newcode90 chromeos/components/tether/tether_disconnector.cc:90: DisconnectActiveWifiConnection(tether_network_guid, active_wifi_network_guid, I think it would ...
3 years, 7 months ago (2017-05-04 01:56:28 UTC) #6
Kyle Horimoto
https://codereview.chromium.org/2857853005/diff/100001/chromeos/components/tether/tether_disconnector.cc File chromeos/components/tether/tether_disconnector.cc (right): https://codereview.chromium.org/2857853005/diff/100001/chromeos/components/tether/tether_disconnector.cc#newcode90 chromeos/components/tether/tether_disconnector.cc:90: DisconnectActiveWifiConnection(tether_network_guid, active_wifi_network_guid, On 2017/05/04 01:56:28, Ryan Hansberry wrote: > ...
3 years, 7 months ago (2017-05-04 02:00:14 UTC) #7
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/2857853005/120001
3 years, 7 months ago (2017-05-04 02:00:45 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 03:10:51 UTC) #13
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/8d47055fe57c19eee560dfd25f51...

Powered by Google App Engine
This is Rietveld 408576698