| Index: chrome/browser/password_manager/password_store_mac_unittest.cc
|
| diff --git a/chrome/browser/password_manager/password_store_mac_unittest.cc b/chrome/browser/password_manager/password_store_mac_unittest.cc
|
| index d32d63bdcd70eced07a3b8391aa17a9ad35ddc28..e5372a6df6669c7eb9430e32e7b1a53d28d8b894 100644
|
| --- a/chrome/browser/password_manager/password_store_mac_unittest.cc
|
| +++ b/chrome/browser/password_manager/password_store_mac_unittest.cc
|
| @@ -43,7 +43,7 @@ ACTION(STLDeleteElements0) {
|
|
|
| ACTION(QuitUIMessageLoop) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| - MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->Quit();
|
| }
|
|
|
| } // namespace
|
| @@ -917,12 +917,13 @@ class PasswordStoreMacTest : public testing::Test {
|
|
|
| virtual void TearDown() {
|
| store_->ShutdownOnUIThread();
|
| - MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure());
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->PostTask(FROM_HERE,
|
| + base::MessageLoop::QuitClosure());
|
| + base::MessageLoop::current()->Run();
|
| }
|
|
|
| protected:
|
| - MessageLoopForUI message_loop_;
|
| + base::MessageLoopForUI message_loop_;
|
| content::TestBrowserThread ui_thread_;
|
|
|
| MockAppleKeychain* keychain_; // Owned by store_.
|
| @@ -1003,7 +1004,7 @@ TEST_F(PasswordStoreMacTest, TestStoreUpdate) {
|
| EXPECT_CALL(consumer, OnGetPasswordStoreResults(_)).WillOnce(
|
| DoAll(WithArg<0>(STLDeleteElements0()), QuitUIMessageLoop()));
|
| store_->GetLogins(*joint_form, &consumer);
|
| - MessageLoop::current()->Run();
|
| + base::MessageLoop::current()->Run();
|
|
|
| MacKeychainPasswordFormAdapter keychain_adapter(keychain_);
|
| for (unsigned int i = 0; i < ARRAYSIZE_UNSAFE(updates); ++i) {
|
|
|