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

Unified Diff: chromeos/network/device_state.h

Issue 23451044: Add an Ethernet EAP policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed remaining comments. # Created 7 years, 3 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 | « chrome/browser/ui/webui/options/preferences_browsertest.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 bfad9277bfa1e03003b4e1a69b992c7de21c74bb..c6df864c194e6686bada1e05d491bfa6248c3280 100644
--- a/chromeos/network/device_state.h
+++ b/chromeos/network/device_state.h
@@ -46,13 +46,19 @@ class CHROMEOS_EXPORT DeviceState : public ManagedState {
const CellularScanResults& scan_results() const { return scan_results_; }
const DictionaryValue& properties() const { return properties_; }
+ // Ethernet specific accessors
+ bool eap_authentication_completed() const {
+ return eap_authentication_completed_;
+ }
+
// Returns true if the technology family is GSM and sim_present_ is false.
bool IsSimAbsent() const;
private:
// Common Device Properties
std::string mac_address_;
- // Cellular specific propeties
+
+ // Cellular specific properties
std::string home_provider_id_;
bool provider_requires_roaming_;
bool support_network_scan_;
@@ -68,6 +74,10 @@ class CHROMEOS_EXPORT DeviceState : public ManagedState {
std::string iccid_;
std::string mdn_;
CellularScanResults scan_results_;
+
+ // Ethernet specific properties
+ bool eap_authentication_completed_;
+
// Keep all Device properties in a dictionary. Devices are limited and should
// change rarely if ever, so the overhead for this is small.
DictionaryValue properties_;
« no previous file with comments | « chrome/browser/ui/webui/options/preferences_browsertest.cc ('k') | chromeos/network/device_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698