| Index: chrome/browser/password_manager/password_store_x_unittest.cc
|
| diff --git a/chrome/browser/password_manager/password_store_x_unittest.cc b/chrome/browser/password_manager/password_store_x_unittest.cc
|
| index 8ba62cce32e02ce0886f50e7550b0fc40f0c94a3..6be0ab94b1907e8a45e04a336d301f32e83856db 100644
|
| --- a/chrome/browser/password_manager/password_store_x_unittest.cc
|
| +++ b/chrome/browser/password_manager/password_store_x_unittest.cc
|
| @@ -285,8 +285,9 @@ class PasswordStoreXTest : public testing::TestWithParam<BackendType> {
|
| }
|
|
|
| virtual void TearDown() {
|
| - MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure());
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->PostTask(FROM_HERE,
|
| + base::MessageLoop::QuitClosure());
|
| + base::MessageLoop::current()->Run();
|
| db_thread_.Stop();
|
| }
|
|
|
| @@ -301,7 +302,7 @@ class PasswordStoreXTest : public testing::TestWithParam<BackendType> {
|
| }
|
| }
|
|
|
| - MessageLoopForUI message_loop_;
|
| + base::MessageLoopForUI message_loop_;
|
| content::TestBrowserThread ui_thread_;
|
| // PasswordStore, WDS schedule work on this thread.
|
| content::TestBrowserThread db_thread_;
|
| @@ -317,7 +318,7 @@ ACTION(STLDeleteElements0) {
|
|
|
| ACTION(QuitUIMessageLoop) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| - MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->Quit();
|
| }
|
|
|
| TEST_P(PasswordStoreXTest, Notifications) {
|
| @@ -472,7 +473,7 @@ TEST_P(PasswordStoreXTest, NativeMigration) {
|
| .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop()));
|
|
|
| store->GetAutofillableLogins(&consumer);
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->Run();
|
|
|
| // The blacklisted forms should have been migrated to the native backend.
|
| EXPECT_CALL(consumer,
|
| @@ -481,7 +482,7 @@ TEST_P(PasswordStoreXTest, NativeMigration) {
|
| .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop()));
|
|
|
| store->GetBlacklistLogins(&consumer);
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->Run();
|
|
|
| VectorOfForms empty;
|
| MockLoginDatabaseReturn ld_return;
|
|
|