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

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

Issue 260083007: Replace chrome://network implementation with networkConfig API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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 25 matching lines...) Expand all
36 const char kCellular[] = "Cellular"; 36 const char kCellular[] = "Cellular";
37 const char kEthernet[] = "Ethernet"; 37 const char kEthernet[] = "Ethernet";
38 const char kGUID[] = "GUID"; 38 const char kGUID[] = "GUID";
39 const char kIPConfigs[] = "IPConfigs"; 39 const char kIPConfigs[] = "IPConfigs";
40 const char kName[] = "Name"; 40 const char kName[] = "Name";
41 const char kNameServers[] = "NameServers"; 41 const char kNameServers[] = "NameServers";
42 const char kProxySettings[] = "ProxySettings"; 42 const char kProxySettings[] = "ProxySettings";
43 const char kSearchDomains[] = "SearchDomains"; 43 const char kSearchDomains[] = "SearchDomains";
44 const char kServicePath[] = "ServicePath"; 44 const char kServicePath[] = "ServicePath";
45 const char kConnectionState[] = "ConnectionState"; 45 const char kConnectionState[] = "ConnectionState";
46 const char kErrorState[] = "ErrorState";
46 const char kType[] = "Type"; 47 const char kType[] = "Type";
47 const char kVPN[] = "VPN"; 48 const char kVPN[] = "VPN";
48 const char kWiFi[] = "WiFi"; 49 const char kWiFi[] = "WiFi";
49 50
50 std::string CellularProperty(const std::string& property) { 51 std::string CellularProperty(const std::string& property) {
51 return std::string(kCellular) + "." + property; 52 return std::string(kCellular) + "." + property;
52 } 53 }
53 54
54 std::string VpnProperty(const std::string& property) { 55 std::string VpnProperty(const std::string& property) {
55 return std::string(kVPN) + "." + property; 56 return std::string(kVPN) + "." + property;
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 const char kLoginIDField[] = "${LOGIN_ID}"; 317 const char kLoginIDField[] = "${LOGIN_ID}";
317 const char kEmailField[] = "${LOGIN_EMAIL}"; 318 const char kEmailField[] = "${LOGIN_EMAIL}";
318 } // namespace substitutes 319 } // namespace substitutes
319 320
320 namespace global_network_config { 321 namespace global_network_config {
321 const char kAllowOnlyPolicyNetworksToAutoconnect[] = 322 const char kAllowOnlyPolicyNetworksToAutoconnect[] =
322 "AllowOnlyPolicyNetworksToAutoconnect"; 323 "AllowOnlyPolicyNetworksToAutoconnect";
323 } // global_network_config 324 } // global_network_config
324 325
325 } // namespace onc 326 } // namespace onc
OLDNEW
« components/onc/onc_constants.h ('K') | « components/onc/onc_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698