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

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: Created 6 years, 1 month 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 8e22da38bdbadd1bcfae2d51e52e073db56d9cd2..64118318a5864976e9b158ee98b818cf549a9af4 100644
--- a/chromeos/dbus/fake_shill_manager_client.cc
+++ b/chromeos/dbus/fake_shill_manager_client.cc
@@ -776,6 +776,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);
@@ -798,6 +801,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