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

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: Feedback 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 23 matching lines...) Expand all
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 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";
45 const char kConnectionState[] = "ConnectionState"; 44 const char kConnectionState[] = "ConnectionState";
45 const char kConnectable[] = "Connectable";
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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 const char kLoginIDField[] = "${LOGIN_ID}"; 318 const char kLoginIDField[] = "${LOGIN_ID}";
318 const char kEmailField[] = "${LOGIN_EMAIL}"; 319 const char kEmailField[] = "${LOGIN_EMAIL}";
319 } // namespace substitutes 320 } // namespace substitutes
320 321
321 namespace global_network_config { 322 namespace global_network_config {
322 const char kAllowOnlyPolicyNetworksToAutoconnect[] = 323 const char kAllowOnlyPolicyNetworksToAutoconnect[] =
323 "AllowOnlyPolicyNetworksToAutoconnect"; 324 "AllowOnlyPolicyNetworksToAutoconnect";
324 } // global_network_config 325 } // global_network_config
325 326
326 } // namespace onc 327 } // namespace onc
OLDNEW
« chromeos/network/onc/onc_translator_shill_to_onc.cc ('K') | « components/onc/onc_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698