diff options
author | stevenjb <stevenjb@chromium.org> | 2015-04-10 08:53:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-10 15:54:52 +0000 |
commit | 7d6a04929fbc69cd9287cc19a365789a42e0e12b (patch) | |
tree | 1248ae63b246aa5a94e188a98d1472ac3eb31629 /components/onc/onc_constants.h | |
parent | 96dd36e7364bd81309b25508b8760d55ed6a5b0d (diff) | |
download | chromium_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.h')
-rw-r--r-- | components/onc/onc_constants.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/components/onc/onc_constants.h b/components/onc/onc_constants.h index 4e8f0a5..06c7ad0 100644 --- a/components/onc/onc_constants.h +++ b/components/onc/onc_constants.h @@ -431,6 +431,13 @@ namespace global_network_config { ONC_EXPORT extern const char kAllowOnlyPolicyNetworksToAutoconnect[]; } // global_network_config +namespace device_state { +ONC_EXPORT extern const char kUninitialized[]; +ONC_EXPORT extern const char kDisabled[]; +ONC_EXPORT extern const char kEnabling[]; +ONC_EXPORT extern const char kEnabled[]; +} // device_state + } // namespace onc #endif // COMPONENTS_ONC_ONC_CONSTANTS_H_ |