summaryrefslogtreecommitdiffstats
path: root/components/onc/onc_constants.cc
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-25 19:14:29 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-25 19:14:29 +0000
commita2026bae02183185d44ea2f3d0cf426a10757a2b (patch)
tree86956389a2d6422dd8d035ff5285e28c7b783f1d /components/onc/onc_constants.cc
parent4046634cb38fe63eb88b8b0952cc7c41d1e530c2 (diff)
downloadchromium_src-a2026bae02183185d44ea2f3d0cf426a10757a2b.zip
chromium_src-a2026bae02183185d44ea2f3d0cf426a10757a2b.tar.gz
chromium_src-a2026bae02183185d44ea2f3d0cf426a10757a2b.tar.bz2
Correctly translate Cellular Device properties to ONC
This fixes how we translate the Device properties to ONC instead of just copying the Shill properties. BUG=279351 Review URL: https://codereview.chromium.org/402953004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285642 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/onc/onc_constants.cc')
-rw-r--r--components/onc/onc_constants.cc18
1 files changed, 16 insertions, 2 deletions
diff --git a/components/onc/onc_constants.cc b/components/onc/onc_constants.cc
index 57df38e..f7e932b 100644
--- a/components/onc/onc_constants.cc
+++ b/components/onc/onc_constants.cc
@@ -101,9 +101,7 @@ const char kProviderRequiresRoaming[] = "ProviderRequiresRoaming";
const char kRoamingState[] = "RoamingState";
const char kSelectedNetwork[] = "SelectedNetwork";
const char kServingOperator[] = "ServingOperator";
-const char kSIMLockEnabled[] = "SIMLockEnabled";
const char kSIMLockStatus[] = "SIMLockStatus";
-const char kSIMLockType[] = "SIMLockType";
const char kSIMPresent[] = "SIMPresent";
const char kSupportedCarriers[] = "SupportedCarriers";
const char kSupportNetworkScan[] = "SupportNetworkScan";
@@ -119,8 +117,24 @@ namespace cellular_apn {
const char kName[] = "Name";
const char kUsername[] = "Username";
const char kPassword[] = "Password";
+const char kLocalizedName[] = "LocalizedName";
+const char kLanguage[] = "LocalizedName";
} // namespace cellular_apn
+namespace cellular_found_network {
+const char kStatus[] = "Status";
+const char kNetworkId[] = "NetworkId";
+const char kShortName[] = "ShortName";
+const char kLongName[] = "LongName";
+const char kTechnology[] = "Technology";
+} // namespace cellular_apn
+
+namespace sim_lock_status {
+const char kLockEnabled[] = "LockEnabled";
+const char kLockType[] = "LockType";
+const char kRetriesLeft[] = "RetriesLeft";
+}
+
namespace connection_state {
const char kConnected[] = "Connected";
const char kConnecting[] = "Connecting";