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

Unified Diff: chromeos/dbus/fake_shill_manager_client.cc

Issue 700383008: Use setProperties for Cellular APN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_430113_internet_options_2
Patch Set: Feedback Created 5 years, 11 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
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 4c1aa9a9821a31cd96d71404b162fa52fbc10c81..86c668a71c7e9f7b110add7d7ea7a8d0c42715db 100644
--- a/chromeos/dbus/fake_shill_manager_client.cc
+++ b/chromeos/dbus/fake_shill_manager_client.cc
@@ -759,6 +759,9 @@ void FakeShillManagerClient::SetupDefaultEnvironment() {
state,
add_to_visible);
base::StringValue technology_value(shill::kNetworkTechnologyGsm);
+ devices->SetDeviceProperty("/device/cellular1",
+ shill::kTechnologyFamilyProperty,
+ technology_value);
services->SetServiceProperty(kCellularServicePath,
shill::kNetworkTechnologyProperty,
technology_value);
@@ -781,6 +784,7 @@ void FakeShillManagerClient::SetupDefaultEnvironment() {
services->SetServiceProperty(kCellularServicePath,
shill::kRoamingStateProperty,
base::StringValue(shill::kRoamingStateHome));
+ profiles->AddService(shared_profile, kCellularServicePath);
}
// VPN

Powered by Google App Engine
This is Rietveld 408576698