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

Unified Diff: chromeos/dbus/fake_shill_device_client.cc

Issue 136463004: Fix NetworkSMSHandler to use DBus service name instead of connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « chromeos/dbus/fake_modem_messaging_client.cc ('k') | chromeos/network/network_sms_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_shill_device_client.cc
diff --git a/chromeos/dbus/fake_shill_device_client.cc b/chromeos/dbus/fake_shill_device_client.cc
index c698277e58953f1e67134b60dcb26a461e6b8850..ca6e027671821992aa7328288d1529a1738ef37d 100644
--- a/chromeos/dbus/fake_shill_device_client.cc
+++ b/chromeos/dbus/fake_shill_device_client.cc
@@ -219,8 +219,9 @@ void FakeShillDeviceClient::AddDevice(const std::string& device_path,
base::Value::CreateStringValue(type));
properties->SetWithoutPathExpansion(
shill::kDBusObjectProperty, base::Value::CreateStringValue(object_path));
- properties->SetWithoutPathExpansion(shill::kDBusConnectionProperty,
- base::Value::CreateStringValue("/stub"));
+ properties->SetWithoutPathExpansion(
+ shill::kDBusServiceProperty,
+ base::Value::CreateStringValue(modemmanager::kModemManager1));
if (NetworkTypePattern::Cellular().MatchesType(type)) {
properties->SetWithoutPathExpansion(shill::kCellularAllowRoamingProperty,
new base::FundamentalValue(false));
« no previous file with comments | « chromeos/dbus/fake_modem_messaging_client.cc ('k') | chromeos/network/network_sms_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698