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

Unified Diff: chromeos/network/device_state.h

Issue 14137017: Add TechnologyState to NetworkStateHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 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/dbus/shill_manager_client_stub.cc ('k') | chromeos/network/device_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/device_state.h
diff --git a/chromeos/network/device_state.h b/chromeos/network/device_state.h
index 25470172d51e53bdce05e2a2f9ed8940265b6f79..37f9fb8cac485e77f691e898a7cb5d2ec9fdb1ca 100644
--- a/chromeos/network/device_state.h
+++ b/chromeos/network/device_state.h
@@ -25,6 +25,10 @@ class CHROMEOS_EXPORT DeviceState : public ManagedState {
bool provider_requires_roaming() const { return provider_requires_roaming_; }
bool support_network_scan() const { return support_network_scan_; }
bool scanning() const { return scanning_; }
+ std::string sim_lock_type() const { return sim_lock_type_; }
+
+ // Returns true if the technology family is GSM and sim_present_ is false.
+ bool IsSimAbsent() const;
private:
// Common Device Properties
@@ -34,6 +38,9 @@ class CHROMEOS_EXPORT DeviceState : public ManagedState {
bool provider_requires_roaming_;
bool support_network_scan_;
bool scanning_;
+ std::string technology_family_;
+ std::string sim_lock_type_;
+ bool sim_present_;
DISALLOW_COPY_AND_ASSIGN(DeviceState);
};
« no previous file with comments | « chromeos/dbus/shill_manager_client_stub.cc ('k') | chromeos/network/device_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698