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

Unified Diff: chromeos/network/device_state.cc

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 | « chromeos/network/device_state.h ('k') | chromeos/network/managed_network_configuration_handler_unittest.cc » ('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 d39fc14dbe569ef5e872cdadef50511340f86542..1545d8491c938f808a936fd7d5b98da6520ed386 100644
--- a/chromeos/network/device_state.cc
+++ b/chromeos/network/device_state.cc
@@ -18,7 +18,8 @@ DeviceState::DeviceState(const std::string& path)
support_network_scan_(false),
scanning_(false),
sim_lock_enabled_(false),
- sim_present_(true) {
+ sim_present_(true),
+ eap_authentication_completed_(false) {
}
DeviceState::~DeviceState() {
@@ -115,6 +116,8 @@ bool DeviceState::PropertyChanged(const std::string& key,
return GetStringValue(key, value, &mdn_);
} else if (key == shill::kSIMPresentProperty) {
return GetBooleanValue(key, value, &sim_present_);
+ } else if (key == shill::kEapAuthenticationCompletedProperty) {
+ return GetBooleanValue(key, value, &eap_authentication_completed_);
}
return false;
}
« no previous file with comments | « chromeos/network/device_state.h ('k') | chromeos/network/managed_network_configuration_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698