|
Autoconnect policy for CrOS.
This adds an autoconnect policy that disables autoconnect of unmanaged networks. As a device policy this applies to all shared networks. As a user policy it applies to all networks of this user.
With this commit the policy is applied on each restart and login. UI lockdown is still missing.
Configurations affecting several networks were not supported previously by ONC. Therefore, this commit adds the new toplevel section "GlobalNetworkConfiguration" to ONC.
BUG= 280146
For API change:
R=bartfab@chromium.org
TBR=eroman@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229910
Total comments: 23
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+465 lines, -217 lines) |
Patch |
 |
M |
chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
|
View
|
1
|
1 chunk |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/policy/network_configuration_updater.h
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/policy/network_configuration_updater.cc
|
View
|
|
2 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc
|
View
|
1
2
3
|
12 chunks |
+57 lines, -39 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/policy/user_network_configuration_updater.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/policy/user_network_configuration_updater.cc
|
View
|
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/net_internals/net_internals_ui.cc
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/client_cert_resolver_unittest.cc
|
View
|
1
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/network/managed_network_configuration_handler.h
|
View
|
1
|
1 chunk |
+11 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/managed_network_configuration_handler_impl.h
|
View
|
1
|
5 chunks |
+16 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/managed_network_configuration_handler_impl.cc
|
View
|
1
|
18 chunks |
+104 lines, -47 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/managed_network_configuration_handler_unittest.cc
|
View
|
|
13 chunks |
+52 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/mock_managed_network_configuration_handler.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_signature.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_signature.cc
|
View
|
1
2
3
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_utils.h
|
View
|
|
1 chunk |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_utils.cc
|
View
|
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_validator.h
|
View
|
1
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_validator.cc
|
View
|
1
|
6 chunks |
+19 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_validator_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/policy_applicator.h
|
View
|
1
2
|
5 chunks |
+15 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/policy_applicator.cc
|
View
|
1
2
3
|
3 chunks |
+52 lines, -8 lines |
0 comments
|
Download
|
 |
A |
chromeos/test/data/network/managed_toplevel_with_global_config.onc
|
View
|
1
2
3
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chromeos/test/data/network/policy/policy_disallow_autoconnect.onc
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chromeos/test/data/network/policy/shill_disallow_autoconnect_on_unmanaged_wifi2.json
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/policy/shill_managed_wifi1.json
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
chromeos/test/data/network/policy/shill_policy_on_unmanaged_user_wifi1.json
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
D |
chromeos/test/data/network/policy/shill_policy_on_unmanaged_user_wifi1_wo_uidata.json
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
A + |
chromeos/test/data/network/policy/shill_policy_on_unmanaged_wifi1.json
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
chromeos/test/data/network/policy/shill_policy_on_unmanaged_wifi1_wo_uidata.json
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
D |
chromeos/test/data/network/policy/shill_unmanaged_user_wifi1.json
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
D |
chromeos/test/data/network/policy/shill_unmanaged_user_wifi1_wo_uidata.json
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
D |
chromeos/test/data/network/policy/shill_unmanaged_user_wifi2.json
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
A + |
chromeos/test/data/network/policy/shill_unmanaged_wifi1.json
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
chromeos/test/data/network/policy/shill_unmanaged_wifi1_wo_uidata.json
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
chromeos/test/data/network/policy/shill_unmanaged_wifi2.json
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/repaired_toplevel_partially_invalid.onc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/toplevel_partially_invalid.onc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/onc/onc_constants.h
|
View
|
1
2
3
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/onc/onc_constants.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|