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

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

Issue 749013003: ONC: Add IPAddressConfigType and NameServersConfigType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Alywas use empty dictionary to clear StaticIPConfig properties 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/onc_constants.h ('k') | no next file » | 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 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 21 matching lines...) Expand all
32 32
33 // Network Configuration 33 // Network Configuration
34 namespace network_config { 34 namespace network_config {
35 const char kCellular[] = "Cellular"; 35 const char kCellular[] = "Cellular";
36 const char kConnectable[] = "Connectable"; 36 const char kConnectable[] = "Connectable";
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 kIPAddressConfigType[] = "IPAddressConfigType";
42 const char kIPConfigs[] = "IPConfigs"; 43 const char kIPConfigs[] = "IPConfigs";
44 const char kIPConfigTypeDHCP[] = "DHCP";
45 const char kIPConfigTypeStatic[] = "Static";
43 const char kMacAddress[] = "MacAddress"; 46 const char kMacAddress[] = "MacAddress";
47 const char kNameServersConfigType[] = "NameServersConfigType";
44 const char kName[] = "Name"; 48 const char kName[] = "Name";
45 const char kPriority[] = "Priority"; 49 const char kPriority[] = "Priority";
46 const char kProxySettings[] = "ProxySettings"; 50 const char kProxySettings[] = "ProxySettings";
47 const char kRestrictedConnectivity[] = "RestrictedConnectivity"; 51 const char kRestrictedConnectivity[] = "RestrictedConnectivity";
48 const char kSavedIPConfig[] = "SavedIPConfig"; 52 const char kSavedIPConfig[] = "SavedIPConfig";
49 const char kSourceDevice[] = "Device"; 53 const char kSourceDevice[] = "Device";
50 const char kSourceDevicePolicy[] = "DevicePolicy"; 54 const char kSourceDevicePolicy[] = "DevicePolicy";
51 const char kSourceNone[] = "None"; 55 const char kSourceNone[] = "None";
52 const char kSourceUser[] = "User"; 56 const char kSourceUser[] = "User";
53 const char kSourceUserPolicy[] = "UserPolicy"; 57 const char kSourceUserPolicy[] = "UserPolicy";
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 const char kLoginIDField[] = "${LOGIN_ID}"; 378 const char kLoginIDField[] = "${LOGIN_ID}";
375 const char kEmailField[] = "${LOGIN_EMAIL}"; 379 const char kEmailField[] = "${LOGIN_EMAIL}";
376 } // namespace substitutes 380 } // namespace substitutes
377 381
378 namespace global_network_config { 382 namespace global_network_config {
379 const char kAllowOnlyPolicyNetworksToAutoconnect[] = 383 const char kAllowOnlyPolicyNetworksToAutoconnect[] =
380 "AllowOnlyPolicyNetworksToAutoconnect"; 384 "AllowOnlyPolicyNetworksToAutoconnect";
381 } // global_network_config 385 } // global_network_config
382 386
383 } // namespace onc 387 } // namespace onc
OLDNEW
« no previous file with comments | « components/onc/onc_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698