diff options
author | Steven Bennetts <stevenjb@chromium.org> | 2014-09-11 13:50:25 -0700 |
---|---|---|
committer | Steven Bennetts <stevenjb@chromium.org> | 2014-09-11 20:56:15 +0000 |
commit | b4dd54b73384e5ca0af94aefcef95e4521c338ea (patch) | |
tree | fbe22869ad30317d49cbe26965c185467d1af69e /components/onc/onc_constants.h | |
parent | 93c37f1b01ef982bce30d4404562f05c7b1d439e (diff) | |
download | chromium_src-b4dd54b73384e5ca0af94aefcef95e4521c338ea.zip chromium_src-b4dd54b73384e5ca0af94aefcef95e4521c338ea.tar.gz chromium_src-b4dd54b73384e5ca0af94aefcef95e4521c338ea.tar.bz2 |
Add ONC 'Source' configuration property
This also includes a bit of JS cleanup to use ONC properties directly
where possible.
BUG=279351
R=pneubeck@chromium.org
Review URL: https://codereview.chromium.org/552113002
Cr-Commit-Position: refs/heads/master@{#294462}
Diffstat (limited to 'components/onc/onc_constants.h')
-rw-r--r-- | components/onc/onc_constants.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/components/onc/onc_constants.h b/components/onc/onc_constants.h index 0029ca7..14ddb98 100644 --- a/components/onc/onc_constants.h +++ b/components/onc/onc_constants.h @@ -13,6 +13,7 @@ namespace onc { // Indicates from which source an ONC blob comes from. enum ONCSource { + ONC_SOURCE_UNKNOWN, ONC_SOURCE_NONE, ONC_SOURCE_USER_IMPORT, ONC_SOURCE_DEVICE_POLICY, @@ -69,6 +70,12 @@ ONC_EXPORT extern const char kNameServers[]; ONC_EXPORT extern const char kPriority[]; ONC_EXPORT extern const char kProxySettings[]; ONC_EXPORT extern const char kSearchDomains[]; +ONC_EXPORT extern const char kSource[]; +ONC_EXPORT extern const char kSourceDevice[]; +ONC_EXPORT extern const char kSourceDevicePolicy[]; +ONC_EXPORT extern const char kSourceNone[]; +ONC_EXPORT extern const char kSourceUser[]; +ONC_EXPORT extern const char kSourceUserPolicy[]; ONC_EXPORT extern const char kConnectionState[]; ONC_EXPORT extern const char kRestrictedConnectivity[]; ONC_EXPORT extern const char kConnectable[]; |