|
[CrOS Tether] Add the notion of a tether DeviceState.
This CL:
(1) Adds a tether DeviceState to NetworkStateHandler during initialization.
(2) Adds SetTetherTechnologyState() and SetTetherScanState() functions which can be called from the tether component.
(3) Updates the SetTechnologyEnabled(), SetProhibitedTechnologies(), and FormattedHardwareAddressForType() functions to deal properly with the tether DeviceState.
(4) Adds a new TetherDeviceStateManager class to the tether component which will handle setting the appropriate technology state. The class is mostly unimplemented for now.
BUG= 672263
Review-Url: https://codereview.chromium.org/2819993002
Cr-Commit-Position: refs/heads/master@{#466185}
Committed: https://chromium.googlesource.com/chromium/src/+/5df3c973662600cb69c4d5e6ac8ae0d1870d10dc
Total comments: 26
Total comments: 18
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+398 lines, -17 lines) |
Patch |
|
M |
chromeos/components/tether/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chromeos/components/tether/active_host_network_state_updater_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chromeos/components/tether/host_scanner_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chromeos/components/tether/initializer.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chromeos/components/tether/initializer.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chromeos/components/tether/tether_connector_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
chromeos/components/tether/tether_device_state_manager.h
|
View
|
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
|
A |
chromeos/components/tether/tether_device_state_manager.cc
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
M |
chromeos/network/device_state.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chromeos/network/managed_state.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chromeos/network/network_connect_unittest.cc
|
View
|
1
2
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
chromeos/network/network_connection_handler.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chromeos/network/network_connection_handler.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chromeos/network/network_state_handler.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+25 lines, -2 lines |
0 comments
|
Download
|
|
M |
chromeos/network/network_state_handler.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
16 chunks |
+146 lines, -11 lines |
0 comments
|
Download
|
|
M |
chromeos/network/network_state_handler_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
14 chunks |
+104 lines, -4 lines |
0 comments
|
Download
|
|
M |
chromeos/network/tether_constants.h
|
View
|
1
2
3
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chromeos/network/tether_constants.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 26 (6 generated)
|