summaryrefslogtreecommitdiffstats
path: root/components/onc/onc_constants.h
diff options
context:
space:
mode:
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-21 21:07:53 +0000
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-21 21:07:53 +0000
commite5ed56ebda5c89cdb26eb6a7c31b41d2a4fd321b (patch)
treeac7a2418f316a497081ebf9ab86a46dba202ccbb /components/onc/onc_constants.h
parentdc6097a75946a1d8ec46cd8fd4773fe5bf19af9f (diff)
downloadchromium_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.h')
-rw-r--r--components/onc/onc_constants.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/onc/onc_constants.h b/components/onc/onc_constants.h
index 17e748c..b114177 100644
--- a/components/onc/onc_constants.h
+++ b/components/onc/onc_constants.h
@@ -48,6 +48,7 @@ namespace toplevel_config {
ONC_EXPORT extern const char kCertificates[];
ONC_EXPORT extern const char kEncryptedConfiguration[];
ONC_EXPORT extern const char kNetworkConfigurations[];
+ONC_EXPORT extern const char kGlobalNetworkConfiguration[];
ONC_EXPORT extern const char kType[];
ONC_EXPORT extern const char kUnencryptedConfiguration[];
} // namespace toplevel_config
@@ -309,6 +310,10 @@ ONC_EXPORT extern const char kType[];
ONC_EXPORT extern const char kWPAD[];
} // namespace proxy
+namespace global_network_config {
+ONC_EXPORT extern const char kAllowOnlyPolicyNetworksToAutoconnect[];
+} // global_network_config
+
} // namespace onc
#endif // COMPONENTS_ONC_ONC_CONSTANTS_H_