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

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

Issue 540613002: Translate Saved/StaticIPConfig properties from ONC to Shill (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
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 4
5 #include "components/onc/onc_constants.h" 5 #include "components/onc/onc_constants.h"
6 6
7 // Constants for ONC properties. 7 // Constants for ONC properties.
8 namespace onc { 8 namespace onc {
9 9
10 const char kAugmentationActiveSetting[] = "Active"; 10 const char kAugmentationActiveSetting[] = "Active";
(...skipping 20 matching lines...) Expand all
31 const char kUnencryptedConfiguration[] = "UnencryptedConfiguration"; 31 const char kUnencryptedConfiguration[] = "UnencryptedConfiguration";
32 } // namespace toplevel_config 32 } // namespace toplevel_config
33 33
34 // Network Configuration 34 // Network Configuration
35 namespace network_config { 35 namespace network_config {
36 const char kCellular[] = "Cellular"; 36 const char kCellular[] = "Cellular";
37 const char kDevice[] = "Device"; 37 const char kDevice[] = "Device";
38 const char kEthernet[] = "Ethernet"; 38 const char kEthernet[] = "Ethernet";
39 const char kGUID[] = "GUID"; 39 const char kGUID[] = "GUID";
40 const char kIPConfigs[] = "IPConfigs"; 40 const char kIPConfigs[] = "IPConfigs";
41 const char kSavedIPConfig[] = "SavedIPConfig";
42 const char kStaticIPConfig[] = "StaticIPConfig";
41 const char kMacAddress[] = "MacAddress"; 43 const char kMacAddress[] = "MacAddress";
42 const char kName[] = "Name"; 44 const char kName[] = "Name";
43 const char kNameServers[] = "NameServers"; 45 const char kNameServers[] = "NameServers";
44 const char kPriority[] = "Priority"; 46 const char kPriority[] = "Priority";
45 const char kProxySettings[] = "ProxySettings"; 47 const char kProxySettings[] = "ProxySettings";
46 const char kSearchDomains[] = "SearchDomains"; 48 const char kSearchDomains[] = "SearchDomains";
47 const char kConnectionState[] = "ConnectionState"; 49 const char kConnectionState[] = "ConnectionState";
48 const char kConnectable[] = "Connectable"; 50 const char kConnectable[] = "Connectable";
49 const char kErrorState[] = "ErrorState"; 51 const char kErrorState[] = "ErrorState";
50 const char kType[] = "Type"; 52 const char kType[] = "Type";
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 } // namespace ethernet 154 } // namespace ethernet
153 155
154 namespace ipconfig { 156 namespace ipconfig {
155 const char kGateway[] = "Gateway"; 157 const char kGateway[] = "Gateway";
156 const char kIPAddress[] = "IPAddress"; 158 const char kIPAddress[] = "IPAddress";
157 const char kIPv4[] = "IPv4"; 159 const char kIPv4[] = "IPv4";
158 const char kIPv6[] = "IPv6"; 160 const char kIPv6[] = "IPv6";
159 const char kNameServers[] = "NameServers"; 161 const char kNameServers[] = "NameServers";
160 const char kRoutingPrefix[] = "RoutingPrefix"; 162 const char kRoutingPrefix[] = "RoutingPrefix";
161 const char kType[] = "Type"; 163 const char kType[] = "Type";
164 const char kWebProxyAutoDiscoveryUrl[] = "WebProxyAutoDiscoveryUrl";
162 } // namespace ipconfig 165 } // namespace ipconfig
163 166
164 namespace wifi { 167 namespace wifi {
165 const char kAutoConnect[] = "AutoConnect"; 168 const char kAutoConnect[] = "AutoConnect";
166 const char kBSSID[] = "BSSID"; 169 const char kBSSID[] = "BSSID";
167 const char kEAP[] = "EAP"; 170 const char kEAP[] = "EAP";
168 const char kFrequency[] = "Frequency"; 171 const char kFrequency[] = "Frequency";
169 const char kFrequencyList[] = "FrequencyList"; 172 const char kFrequencyList[] = "FrequencyList";
170 const char kHiddenSSID[] = "HiddenSSID"; 173 const char kHiddenSSID[] = "HiddenSSID";
171 const char kPassphrase[] = "Passphrase"; 174 const char kPassphrase[] = "Passphrase";
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 const char kLoginIDField[] = "${LOGIN_ID}"; 345 const char kLoginIDField[] = "${LOGIN_ID}";
343 const char kEmailField[] = "${LOGIN_EMAIL}"; 346 const char kEmailField[] = "${LOGIN_EMAIL}";
344 } // namespace substitutes 347 } // namespace substitutes
345 348
346 namespace global_network_config { 349 namespace global_network_config {
347 const char kAllowOnlyPolicyNetworksToAutoconnect[] = 350 const char kAllowOnlyPolicyNetworksToAutoconnect[] =
348 "AllowOnlyPolicyNetworksToAutoconnect"; 351 "AllowOnlyPolicyNetworksToAutoconnect";
349 } // global_network_config 352 } // global_network_config
350 353
351 } // namespace onc 354 } // namespace onc
OLDNEW
« components/onc/docs/onc_spec.html ('K') | « components/onc/onc_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698