diff options
author | stevenjb <stevenjb@chromium.org> | 2015-01-07 11:06:54 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-07 19:08:26 +0000 |
commit | 75a3c1dca4598fd845b9871c56ac867eb9a25447 (patch) | |
tree | b496570b9562bead1144454ac7e7e70909446029 /components/onc/onc_constants.h | |
parent | 21533286b2ba1f1d5e3c4c4d8bf07d6dddb321e9 (diff) | |
download | chromium_src-75a3c1dca4598fd845b9871c56ac867eb9a25447.zip chromium_src-75a3c1dca4598fd845b9871c56ac867eb9a25447.tar.gz chromium_src-75a3c1dca4598fd845b9871c56ac867eb9a25447.tar.bz2 |
ONC: Add IPAddressConfigType and NameServersConfigType
This CL introdcues IPAddressConfigType and NameServersConfigType
If either of these is set to 'Static', a 'StaticIPConfig' object must
be provided and must specify any non-default configuration. If neither
is set to 'Static', the StaticIPConfig object will be ignored.
Originally uploaded as https://codereview.chromium.org/750313003/
BUG=411289
Review URL: https://codereview.chromium.org/749013003
Cr-Commit-Position: refs/heads/master@{#310325}
Diffstat (limited to 'components/onc/onc_constants.h')
-rw-r--r-- | components/onc/onc_constants.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/onc/onc_constants.h b/components/onc/onc_constants.h index 4895d16..25625d5 100644 --- a/components/onc/onc_constants.h +++ b/components/onc/onc_constants.h @@ -61,10 +61,14 @@ ONC_EXPORT extern const char kCellular[]; ONC_EXPORT extern const char kDevice[]; ONC_EXPORT extern const char kEthernet[]; ONC_EXPORT extern const char kGUID[]; +ONC_EXPORT extern const char kIPAddressConfigType[]; ONC_EXPORT extern const char kIPConfigs[]; +ONC_EXPORT extern const char kIPConfigTypeDHCP[]; +ONC_EXPORT extern const char kIPConfigTypeStatic[]; ONC_EXPORT extern const char kSavedIPConfig[]; ONC_EXPORT extern const char kStaticIPConfig[]; ONC_EXPORT extern const char kMacAddress[]; +ONC_EXPORT extern const char kNameServersConfigType[]; ONC_EXPORT extern const char kName[]; ONC_EXPORT extern const char kPriority[]; ONC_EXPORT extern const char kProxySettings[]; |