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

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

Issue 708563005: Use setProperties for IP Config. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_430113_internet_options_1
Patch Set: IPConfigType=Static applies to NameServer only config Created 6 years 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 26 matching lines...) Expand all
37 const char kConnectionState[] = "ConnectionState"; 37 const char kConnectionState[] = "ConnectionState";
38 const char kDevice[] = "Device"; 38 const char kDevice[] = "Device";
39 const char kErrorState[] = "ErrorState"; 39 const char kErrorState[] = "ErrorState";
40 const char kEthernet[] = "Ethernet"; 40 const char kEthernet[] = "Ethernet";
41 const char kGUID[] = "GUID"; 41 const char kGUID[] = "GUID";
42 const char kIPConfigs[] = "IPConfigs"; 42 const char kIPConfigs[] = "IPConfigs";
43 const char kIPConfigType[] = "IPConfigType"; 43 const char kIPConfigType[] = "IPConfigType";
44 const char kIPConfigTypeDHCP[] = "DHCP"; 44 const char kIPConfigTypeDHCP[] = "DHCP";
45 const char kIPConfigTypeStatic[] = "Static"; 45 const char kIPConfigTypeStatic[] = "Static";
46 const char kMacAddress[] = "MacAddress"; 46 const char kMacAddress[] = "MacAddress";
47 const char kNameServers[] = "NameServers";
48 const char kName[] = "Name"; 47 const char kName[] = "Name";
49 const char kPriority[] = "Priority"; 48 const char kPriority[] = "Priority";
50 const char kProxySettings[] = "ProxySettings"; 49 const char kProxySettings[] = "ProxySettings";
51 const char kRestrictedConnectivity[] = "RestrictedConnectivity"; 50 const char kRestrictedConnectivity[] = "RestrictedConnectivity";
52 const char kSavedIPConfig[] = "SavedIPConfig"; 51 const char kSavedIPConfig[] = "SavedIPConfig";
53 const char kSearchDomains[] = "SearchDomains"; 52 const char kSearchDomains[] = "SearchDomains";
54 const char kSourceDevice[] = "Device"; 53 const char kSourceDevice[] = "Device";
55 const char kSourceDevicePolicy[] = "DevicePolicy"; 54 const char kSourceDevicePolicy[] = "DevicePolicy";
56 const char kSourceNone[] = "None"; 55 const char kSourceNone[] = "None";
57 const char kSourceUser[] = "User"; 56 const char kSourceUser[] = "User";
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 const char kLoginIDField[] = "${LOGIN_ID}"; 377 const char kLoginIDField[] = "${LOGIN_ID}";
379 const char kEmailField[] = "${LOGIN_EMAIL}"; 378 const char kEmailField[] = "${LOGIN_EMAIL}";
380 } // namespace substitutes 379 } // namespace substitutes
381 380
382 namespace global_network_config { 381 namespace global_network_config {
383 const char kAllowOnlyPolicyNetworksToAutoconnect[] = 382 const char kAllowOnlyPolicyNetworksToAutoconnect[] =
384 "AllowOnlyPolicyNetworksToAutoconnect"; 383 "AllowOnlyPolicyNetworksToAutoconnect";
385 } // global_network_config 384 } // global_network_config
386 385
387 } // namespace onc 386 } // 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