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

Unified Diff: chromeos/dbus/shill_ipconfig_client_stub.cc

Issue 15774005: chromeos: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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/shill_device_client_stub.cc ('k') | chromeos/dbus/shill_manager_client_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/shill_ipconfig_client_stub.cc
diff --git a/chromeos/dbus/shill_ipconfig_client_stub.cc b/chromeos/dbus/shill_ipconfig_client_stub.cc
index cac80b469ebf07c47894eea113d5faa887946a8b..8bb28841e5db87c63011cce49c3f7475634fa0d0 100644
--- a/chromeos/dbus/shill_ipconfig_client_stub.cc
+++ b/chromeos/dbus/shill_ipconfig_client_stub.cc
@@ -47,7 +47,7 @@ void ShillIPConfigClientStub::GetProperties(
if (!ipconfigs_.GetDictionaryWithoutPathExpansion(ipconfig_path.value(),
&dict))
return;
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE, base::Bind(&ShillIPConfigClientStub::PassProperties,
weak_ptr_factory_.GetWeakPtr(),
dict,
@@ -78,7 +78,7 @@ void ShillIPConfigClientStub::SetProperty(
ipconfigs_.SetWithoutPathExpansion(ipconfig_path.value(),
dvalue);
}
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS));
}
@@ -88,7 +88,7 @@ void ShillIPConfigClientStub::ClearProperty(
const VoidDBusMethodCallback& callback) {
if (callback.is_null())
return;
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS));
}
@@ -96,7 +96,7 @@ void ShillIPConfigClientStub::Remove(const dbus::ObjectPath& ipconfig_path,
const VoidDBusMethodCallback& callback) {
if (callback.is_null())
return;
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS));
}
« no previous file with comments | « chromeos/dbus/shill_device_client_stub.cc ('k') | chromeos/dbus/shill_manager_client_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698