summaryrefslogtreecommitdiffstats
path: root/chromeos/network/onc
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 /chromeos/network/onc
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 'chromeos/network/onc')
-rw-r--r--chromeos/network/onc/onc_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromeos/network/onc/onc_utils.cc b/chromeos/network/onc/onc_utils.cc
index af0171c..8749d5a 100644
--- a/chromeos/network/onc/onc_utils.cc
+++ b/chromeos/network/onc/onc_utils.cc
@@ -713,7 +713,7 @@ NetworkTypePattern NetworkTypePatternFromOncType(const std::string& type) {
return NetworkTypePattern::Wimax();
if (type == ::onc::network_type::kWireless)
return NetworkTypePattern::Wireless();
- NOTREACHED();
+ NOTREACHED() << "Unrecognized ONC type: " << type;
return NetworkTypePattern::Default();
}