Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: components/onc/onc_constants.h

Issue 830133003: ONC: Remove the top level fields NameServers and SearchDomains. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix IPConfig documentation and adapt validation. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/onc/docs/onc_spec.html ('k') | components/onc/onc_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 #ifndef COMPONENTS_ONC_ONC_CONSTANTS_H_ 4 #ifndef COMPONENTS_ONC_ONC_CONSTANTS_H_
5 #define COMPONENTS_ONC_ONC_CONSTANTS_H_ 5 #define COMPONENTS_ONC_ONC_CONSTANTS_H_
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "components/onc/onc_export.h" 9 #include "components/onc/onc_export.h"
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 namespace network_config { 59 namespace network_config {
60 ONC_EXPORT extern const char kCellular[]; 60 ONC_EXPORT extern const char kCellular[];
61 ONC_EXPORT extern const char kDevice[]; 61 ONC_EXPORT extern const char kDevice[];
62 ONC_EXPORT extern const char kEthernet[]; 62 ONC_EXPORT extern const char kEthernet[];
63 ONC_EXPORT extern const char kGUID[]; 63 ONC_EXPORT extern const char kGUID[];
64 ONC_EXPORT extern const char kIPConfigs[]; 64 ONC_EXPORT extern const char kIPConfigs[];
65 ONC_EXPORT extern const char kSavedIPConfig[]; 65 ONC_EXPORT extern const char kSavedIPConfig[];
66 ONC_EXPORT extern const char kStaticIPConfig[]; 66 ONC_EXPORT extern const char kStaticIPConfig[];
67 ONC_EXPORT extern const char kMacAddress[]; 67 ONC_EXPORT extern const char kMacAddress[];
68 ONC_EXPORT extern const char kName[]; 68 ONC_EXPORT extern const char kName[];
69 ONC_EXPORT extern const char kNameServers[];
70 ONC_EXPORT extern const char kPriority[]; 69 ONC_EXPORT extern const char kPriority[];
71 ONC_EXPORT extern const char kProxySettings[]; 70 ONC_EXPORT extern const char kProxySettings[];
72 ONC_EXPORT extern const char kSearchDomains[];
73 ONC_EXPORT extern const char kSource[]; 71 ONC_EXPORT extern const char kSource[];
74 ONC_EXPORT extern const char kSourceDevice[]; 72 ONC_EXPORT extern const char kSourceDevice[];
75 ONC_EXPORT extern const char kSourceDevicePolicy[]; 73 ONC_EXPORT extern const char kSourceDevicePolicy[];
76 ONC_EXPORT extern const char kSourceNone[]; 74 ONC_EXPORT extern const char kSourceNone[];
77 ONC_EXPORT extern const char kSourceUser[]; 75 ONC_EXPORT extern const char kSourceUser[];
78 ONC_EXPORT extern const char kSourceUserPolicy[]; 76 ONC_EXPORT extern const char kSourceUserPolicy[];
79 ONC_EXPORT extern const char kConnectionState[]; 77 ONC_EXPORT extern const char kConnectionState[];
80 ONC_EXPORT extern const char kRestrictedConnectivity[]; 78 ONC_EXPORT extern const char kRestrictedConnectivity[];
81 ONC_EXPORT extern const char kConnectable[]; 79 ONC_EXPORT extern const char kConnectable[];
82 ONC_EXPORT extern const char kErrorState[]; 80 ONC_EXPORT extern const char kErrorState[];
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 ONC_EXPORT extern const char kNotConnected[]; 174 ONC_EXPORT extern const char kNotConnected[];
177 } // namespace connection_state 175 } // namespace connection_state
178 176
179 namespace ipconfig { 177 namespace ipconfig {
180 ONC_EXPORT extern const char kGateway[]; 178 ONC_EXPORT extern const char kGateway[];
181 ONC_EXPORT extern const char kIPAddress[]; 179 ONC_EXPORT extern const char kIPAddress[];
182 ONC_EXPORT extern const char kIPv4[]; 180 ONC_EXPORT extern const char kIPv4[];
183 ONC_EXPORT extern const char kIPv6[]; 181 ONC_EXPORT extern const char kIPv6[];
184 ONC_EXPORT extern const char kNameServers[]; 182 ONC_EXPORT extern const char kNameServers[];
185 ONC_EXPORT extern const char kRoutingPrefix[]; 183 ONC_EXPORT extern const char kRoutingPrefix[];
184 ONC_EXPORT extern const char kSearchDomains[];
186 ONC_EXPORT extern const char kType[]; 185 ONC_EXPORT extern const char kType[];
187 ONC_EXPORT extern const char kWebProxyAutoDiscoveryUrl[]; 186 ONC_EXPORT extern const char kWebProxyAutoDiscoveryUrl[];
188 } // namespace ipconfig 187 } // namespace ipconfig
189 188
190 namespace ethernet { 189 namespace ethernet {
191 ONC_EXPORT extern const char kAuthentication[]; 190 ONC_EXPORT extern const char kAuthentication[];
192 ONC_EXPORT extern const char kAuthenticationNone[]; 191 ONC_EXPORT extern const char kAuthenticationNone[];
193 ONC_EXPORT extern const char kEAP[]; 192 ONC_EXPORT extern const char kEAP[];
194 ONC_EXPORT extern const char k8021X[]; 193 ONC_EXPORT extern const char k8021X[];
195 } // namespace ethernet 194 } // namespace ethernet
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 ONC_EXPORT extern const char kWPAD[]; 393 ONC_EXPORT extern const char kWPAD[];
395 } // namespace proxy 394 } // namespace proxy
396 395
397 namespace global_network_config { 396 namespace global_network_config {
398 ONC_EXPORT extern const char kAllowOnlyPolicyNetworksToAutoconnect[]; 397 ONC_EXPORT extern const char kAllowOnlyPolicyNetworksToAutoconnect[];
399 } // global_network_config 398 } // global_network_config
400 399
401 } // namespace onc 400 } // namespace onc
402 401
403 #endif // COMPONENTS_ONC_ONC_CONSTANTS_H_ 402 #endif // COMPONENTS_ONC_ONC_CONSTANTS_H_
OLDNEW
« no previous file with comments | « components/onc/docs/onc_spec.html ('k') | components/onc/onc_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698