diff options
author | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 23:04:36 +0000 |
---|---|---|
committer | xhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 23:04:36 +0000 |
commit | df90563783a730f075af5df62e91d718d17107bb (patch) | |
tree | 575312351ec6ddaea9860c58d47c30bc18a05013 /chromeos/dbus/shill_ipconfig_client_stub.cc | |
parent | 0488716e86b6a13209fa977fd0e0b89516a6a03c (diff) | |
download | chromium_src-df90563783a730f075af5df62e91d718d17107bb.zip chromium_src-df90563783a730f075af5df62e91d718d17107bb.tar.gz chromium_src-df90563783a730f075af5df62e91d718d17107bb.tar.bz2 |
chromeos: Use base::MessageLoop.
BUG=236029
R=oshima@chromium.org
Review URL: https://codereview.chromium.org/15774005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/shill_ipconfig_client_stub.cc')
-rw-r--r-- | chromeos/dbus/shill_ipconfig_client_stub.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromeos/dbus/shill_ipconfig_client_stub.cc b/chromeos/dbus/shill_ipconfig_client_stub.cc index cac80b4..8bb2884 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)); } |