summaryrefslogtreecommitdiffstats
path: root/components/onc/onc_constants.cc
diff options
context:
space:
mode:
authorstevenjb <stevenjb@chromium.org>2015-04-10 08:53:04 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-10 15:54:52 +0000
commit7d6a04929fbc69cd9287cc19a365789a42e0e12b (patch)
tree1248ae63b246aa5a94e188a98d1472ac3eb31629 /components/onc/onc_constants.cc
parent96dd36e7364bd81309b25508b8760d55ed6a5b0d (diff)
downloadchromium_src-7d6a04929fbc69cd9287cc19a365789a42e0e12b.zip
chromium_src-7d6a04929fbc69cd9287cc19a365789a42e0e12b.tar.gz
chromium_src-7d6a04929fbc69cd9287cc19a365789a42e0e12b.tar.bz2
Implement networkingPrivate.getDeviceStates
This is needed for the internet Settings UI to replace the following properites passed using chrome.send(). It will also be used in the new Settings UI to improve the UI for uninitalized and enabling technologies. cellularAvailable cellularEnabled wifiAvailable wifiEnabled wimaxAvailable wimaxEnabled BUG=465418 For chrome_browser_main_extra_parts_profiles.cc: TBR=skuhne@chromium.org Review URL: https://codereview.chromium.org/1059033002 Cr-Commit-Position: refs/heads/master@{#324643}
Diffstat (limited to 'components/onc/onc_constants.cc')
-rw-r--r--components/onc/onc_constants.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/onc/onc_constants.cc b/components/onc/onc_constants.cc
index 7543b6ef..38fe90c 100644
--- a/components/onc/onc_constants.cc
+++ b/components/onc/onc_constants.cc
@@ -414,4 +414,11 @@ const char kAllowOnlyPolicyNetworksToAutoconnect[] =
"AllowOnlyPolicyNetworksToAutoconnect";
} // global_network_config
+namespace device_state {
+const char kUninitialized[] = "Uninitialized";
+const char kDisabled[] = "Disabled";
+const char kEnabling[] = "Enabling";
+const char kEnabled[] = "Enabled";
+} // device_state
+
} // namespace onc