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

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

Issue 402953004: Correctly translate Cellular Device properties to ONC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix APNList and FoundNetworks Created 6 years, 5 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const char kMDN[] = "MDN"; 94 const char kMDN[] = "MDN";
95 const char kMEID[] = "MEID"; 95 const char kMEID[] = "MEID";
96 const char kMIN[] = "MIN"; 96 const char kMIN[] = "MIN";
97 const char kModelID[] = "ModelID"; 97 const char kModelID[] = "ModelID";
98 const char kNetworkTechnology[] = "NetworkTechnology"; 98 const char kNetworkTechnology[] = "NetworkTechnology";
99 const char kPRLVersion[] = "PRLVersion"; 99 const char kPRLVersion[] = "PRLVersion";
100 const char kProviderRequiresRoaming[] = "ProviderRequiresRoaming"; 100 const char kProviderRequiresRoaming[] = "ProviderRequiresRoaming";
101 const char kRoamingState[] = "RoamingState"; 101 const char kRoamingState[] = "RoamingState";
102 const char kSelectedNetwork[] = "SelectedNetwork"; 102 const char kSelectedNetwork[] = "SelectedNetwork";
103 const char kServingOperator[] = "ServingOperator"; 103 const char kServingOperator[] = "ServingOperator";
104 const char kSIMLockEnabled[] = "SIMLockEnabled";
105 const char kSIMLockStatus[] = "SIMLockStatus"; 104 const char kSIMLockStatus[] = "SIMLockStatus";
106 const char kSIMLockType[] = "SIMLockType";
107 const char kSIMPresent[] = "SIMPresent"; 105 const char kSIMPresent[] = "SIMPresent";
108 const char kSupportedCarriers[] = "SupportedCarriers"; 106 const char kSupportedCarriers[] = "SupportedCarriers";
109 const char kSupportNetworkScan[] = "SupportNetworkScan"; 107 const char kSupportNetworkScan[] = "SupportNetworkScan";
110 } // namespace cellular 108 } // namespace cellular
111 109
112 namespace cellular_provider { 110 namespace cellular_provider {
113 const char kCode[] = "Code"; 111 const char kCode[] = "Code";
114 const char kCountry[] = "Country"; 112 const char kCountry[] = "Country";
115 const char kName[] = "Name"; 113 const char kName[] = "Name";
116 } // namespace cellular_provider 114 } // namespace cellular_provider
117 115
118 namespace cellular_apn { 116 namespace cellular_apn {
117 const char kApn[] = "Apn";
119 const char kName[] = "Name"; 118 const char kName[] = "Name";
120 const char kUsername[] = "Username"; 119 const char kUsername[] = "Username";
121 const char kPassword[] = "Password"; 120 const char kPassword[] = "Password";
121 const char kLocalizedName[] = "LocalizedName";
122 const char kLanguage[] = "LocalizedName";
122 } // namespace cellular_apn 123 } // namespace cellular_apn
123 124
125 namespace cellular_found_network {
126 const char kStatus[] = "Status";
127 const char kNetworkId[] = "NetworkId";
128 const char kShortName[] = "ShortName";
129 const char kLongName[] = "LongName";
130 const char kTechnology[] = "Technology";
131 } // namespace cellular_apn
132
133 namespace sim_lock_status {
134 const char kLockEnabled[] = "LockEnabled";
135 const char kLockType[] = "LockType";
136 const char kRetriesLeft[] = "RetriesLeft";
137 }
138
124 namespace connection_state { 139 namespace connection_state {
125 const char kConnected[] = "Connected"; 140 const char kConnected[] = "Connected";
126 const char kConnecting[] = "Connecting"; 141 const char kConnecting[] = "Connecting";
127 const char kNotConnected[] = "NotConnected"; 142 const char kNotConnected[] = "NotConnected";
128 } // namespace connection_state 143 } // namespace connection_state
129 144
130 namespace ethernet { 145 namespace ethernet {
131 const char kAuthentication[] = "Authentication"; 146 const char kAuthentication[] = "Authentication";
132 const char kAuthenticationNone[] = "None"; 147 const char kAuthenticationNone[] = "None";
133 const char kEAP[] = "EAP"; 148 const char kEAP[] = "EAP";
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 const char kLoginIDField[] = "${LOGIN_ID}"; 340 const char kLoginIDField[] = "${LOGIN_ID}";
326 const char kEmailField[] = "${LOGIN_EMAIL}"; 341 const char kEmailField[] = "${LOGIN_EMAIL}";
327 } // namespace substitutes 342 } // namespace substitutes
328 343
329 namespace global_network_config { 344 namespace global_network_config {
330 const char kAllowOnlyPolicyNetworksToAutoconnect[] = 345 const char kAllowOnlyPolicyNetworksToAutoconnect[] =
331 "AllowOnlyPolicyNetworksToAutoconnect"; 346 "AllowOnlyPolicyNetworksToAutoconnect";
332 } // global_network_config 347 } // global_network_config
333 348
334 } // namespace onc 349 } // 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