diff options
author | pneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-21 21:07:53 +0000 |
---|---|---|
committer | pneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-21 21:07:53 +0000 |
commit | e5ed56ebda5c89cdb26eb6a7c31b41d2a4fd321b (patch) | |
tree | ac7a2418f316a497081ebf9ab86a46dba202ccbb /components/onc/onc_constants.cc | |
parent | dc6097a75946a1d8ec46cd8fd4773fe5bf19af9f (diff) | |
download | chromium_src-e5ed56ebda5c89cdb26eb6a7c31b41d2a4fd321b.zip chromium_src-e5ed56ebda5c89cdb26eb6a7c31b41d2a4fd321b.tar.gz chromium_src-e5ed56ebda5c89cdb26eb6a7c31b41d2a4fd321b.tar.bz2 |
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
Review URL: https://codereview.chromium.org/23526016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/onc/onc_constants.cc')
-rw-r--r-- | components/onc/onc_constants.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/onc/onc_constants.cc b/components/onc/onc_constants.cc index 7c6cfbd..04df0b4 100644 --- a/components/onc/onc_constants.cc +++ b/components/onc/onc_constants.cc @@ -26,6 +26,7 @@ namespace toplevel_config { const char kCertificates[] = "Certificates"; const char kEncryptedConfiguration[] = "EncryptedConfiguration"; const char kNetworkConfigurations[] = "NetworkConfigurations"; +const char kGlobalNetworkConfiguration[] = "GlobalNetworkConfiguration"; const char kType[] = "Type"; const char kUnencryptedConfiguration[] = "UnencryptedConfiguration"; } // namespace toplevel_config @@ -286,5 +287,10 @@ const char kLoginIDField[] = "${LOGIN_ID}"; const char kEmailField[] = "${LOGIN_EMAIL}"; } // namespace substitutes +namespace global_network_config { +const char kAllowOnlyPolicyNetworksToAutoconnect[] = + "AllowOnlyPolicyNetworksToAutoconnect"; +} // global_network_config + } // namespace onc |