| Index: chromeos/dbus/shill_profile_client_unittest.cc
|
| diff --git a/chromeos/dbus/shill_profile_client_unittest.cc b/chromeos/dbus/shill_profile_client_unittest.cc
|
| index 7daadd2830c94e6049398d18c1485babc54c1bdb..16876e9c63ea4ff632ab9f87f97548eb795d15e6 100644
|
| --- a/chromeos/dbus/shill_profile_client_unittest.cc
|
| +++ b/chromeos/dbus/shill_profile_client_unittest.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/bind.h"
|
| +#include "base/run_loop.h"
|
| #include "base/values.h"
|
| #include "chromeos/dbus/shill_client_unittest_base.h"
|
| #include "chromeos/dbus/shill_profile_client.h"
|
| @@ -44,7 +45,7 @@ class ShillProfileClientTest : public ShillClientUnittestBase {
|
| client_.reset(ShillProfileClient::Create());
|
| client_->Init(mock_bus_.get());
|
| // Run the message loop to run the signal connection result callback.
|
| - message_loop_.RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| void TearDown() override { ShillClientUnittestBase::TearDown(); }
|
| @@ -122,7 +123,7 @@ TEST_F(ShillProfileClientTest, GetProperties) {
|
| EXPECT_CALL(error_callback, Run(_, _)).Times(0);
|
|
|
| // Run the message loop.
|
| - message_loop_.RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| TEST_F(ShillProfileClientTest, GetEntry) {
|
| @@ -155,7 +156,7 @@ TEST_F(ShillProfileClientTest, GetEntry) {
|
| error_callback.GetCallback());
|
| EXPECT_CALL(error_callback, Run(_, _)).Times(0);
|
| // Run the message loop.
|
| - message_loop_.RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| TEST_F(ShillProfileClientTest, DeleteEntry) {
|
| @@ -181,7 +182,7 @@ TEST_F(ShillProfileClientTest, DeleteEntry) {
|
| EXPECT_CALL(mock_error_callback, Run(_, _)).Times(0);
|
|
|
| // Run the message loop.
|
| - message_loop_.RunUntilIdle();
|
| + base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| } // namespace chromeos
|
|
|