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

Unified Diff: chromeos/dbus/fake_shill_manager_client.cc

Issue 788633003: chromeos networking: move from security to securityclass property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@local-master
Patch Set: Created 6 years 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
Index: chromeos/dbus/fake_shill_manager_client.cc
diff --git a/chromeos/dbus/fake_shill_manager_client.cc b/chromeos/dbus/fake_shill_manager_client.cc
index 2ef8327d0f07f07938ce013adbe012d8bfc41dc1..623ae149e37cb4accc696e5a1402017120f30858 100644
--- a/chromeos/dbus/fake_shill_manager_client.cc
+++ b/chromeos/dbus/fake_shill_manager_client.cc
@@ -663,7 +663,7 @@ void FakeShillManagerClient::SetupDefaultEnvironment() {
state,
add_to_visible);
services->SetServiceProperty(kWifi1Path,
- shill::kSecurityProperty,
+ shill::kSecurityClassProperty,
base::StringValue(shill::kSecurityWep));
services->SetServiceProperty(kWifi1Path,
shill::kConnectableProperty,
@@ -678,7 +678,7 @@ void FakeShillManagerClient::SetupDefaultEnvironment() {
shill::kStateIdle,
add_to_visible);
services->SetServiceProperty(kWifi2Path,
- shill::kSecurityProperty,
+ shill::kSecurityClassProperty,
base::StringValue(shill::kSecurityPsk));
base::FundamentalValue strength_value(80);
@@ -695,7 +695,7 @@ void FakeShillManagerClient::SetupDefaultEnvironment() {
shill::kStatePortal,
add_to_visible);
services->SetServiceProperty(kPortaledWifiPath,
- shill::kSecurityProperty,
+ shill::kSecurityClassProperty,
base::StringValue(shill::kSecurityNone));
services->SetConnectBehavior(kPortaledWifiPath,
base::Bind(&UpdatePortaledWifiState,

Powered by Google App Engine
This is Rietveld 408576698