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

Unified Diff: chrome/browser/chromeos/cros/sms_watcher.cc

Issue 11367048: This is the first pass at making GetIPConfigs asynchronous. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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: chrome/browser/chromeos/cros/sms_watcher.cc
diff --git a/chrome/browser/chromeos/cros/sms_watcher.cc b/chrome/browser/chromeos/cros/sms_watcher.cc
index c5a43356820de7070f032ab55de1c5a875f68b1c..82d099e9456b78aa3965a526d7cca01927c8f53a 100644
--- a/chrome/browser/chromeos/cros/sms_watcher.cc
+++ b/chrome/browser/chromeos/cros/sms_watcher.cc
@@ -375,19 +375,19 @@ SMSWatcher::~SMSWatcher() {
void SMSWatcher::DevicePropertiesCallback(
DBusMethodCallStatus call_status,
- const base::DictionaryValue& properties) {
+ scoped_ptr<base::DictionaryValue> properties) {
if (call_status != DBUS_METHOD_CALL_SUCCESS)
return;
std::string dbus_connection;
- if (!properties.GetStringWithoutPathExpansion(
+ if (!properties->GetStringWithoutPathExpansion(
flimflam::kDBusConnectionProperty, &dbus_connection)) {
LOG(WARNING) << "Modem device properties do not include DBus connection.";
return;
}
std::string object_path_string;
- if (!properties.GetStringWithoutPathExpansion(
+ if (!properties->GetStringWithoutPathExpansion(
flimflam::kDBusObjectProperty, &object_path_string)) {
LOG(WARNING) << "Modem device properties do not include DBus object.";
return;

Powered by Google App Engine
This is Rietveld 408576698