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

Unified Diff: chromeos/network/device_state.cc

Issue 17091006: Add additional cellular-related properties to Network|DeviceState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address stevenjb comments Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/network/device_state.h ('k') | chromeos/network/network_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/device_state.cc
diff --git a/chromeos/network/device_state.cc b/chromeos/network/device_state.cc
index 72567a4fe9a741e90045d3d21eefcc7c98444438..5efc07bd3fffad99f7c6078d1bd5fe405aaf7b6f 100644
--- a/chromeos/network/device_state.cc
+++ b/chromeos/network/device_state.cc
@@ -68,6 +68,14 @@ bool DeviceState::PropertyChanged(const std::string& key,
return false;
// Ignore other SIMLockStatus properties.
return true;
+ } else if (key == flimflam::kMeidProperty) {
+ return GetStringValue(key, value, &meid_);
+ } else if (key == flimflam::kImeiProperty) {
+ return GetStringValue(key, value, &imei_);
+ } else if (key == flimflam::kIccidProperty) {
+ return GetStringValue(key, value, &iccid_);
+ } else if (key == flimflam::kMdnProperty) {
+ return GetStringValue(key, value, &mdn_);
} else if (key == shill::kSIMPresentProperty) {
return GetBooleanValue(key, value, &sim_present_);
}
« no previous file with comments | « chromeos/network/device_state.h ('k') | chromeos/network/network_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698