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

Unified Diff: components/autofill/browser/personal_data_manager_unittest.cc

Issue 16092013: Use base::MessageLoop in more files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again, sigh 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 | « chrome/test/pyautolib/pyautolib.cc ('k') | components/webdata/common/web_data_request_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/browser/personal_data_manager_unittest.cc
diff --git a/components/autofill/browser/personal_data_manager_unittest.cc b/components/autofill/browser/personal_data_manager_unittest.cc
index 03089dbf726b01bfd0c6fb02f272e71dc382c734..4d53ced70e5ee6f17ce3eee9bf3690e22551a45f 100644
--- a/components/autofill/browser/personal_data_manager_unittest.cc
+++ b/components/autofill/browser/personal_data_manager_unittest.cc
@@ -302,7 +302,7 @@ TEST_F(PersonalDataManagerTest, UpdateUnverifiedProfilesAndCreditCards) {
// Verify that the web database has been updated and the notification sent.
EXPECT_CALL(personal_data_observer_,
OnPersonalDataChanged()).WillOnce(QuitUIMessageLoop());
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
const std::vector<AutofillProfile*>& profiles1 =
personal_data_->GetProfiles();
@@ -346,7 +346,7 @@ TEST_F(PersonalDataManagerTest, UpdateUnverifiedProfilesAndCreditCards) {
// Verify that the web database has been updated and the notification sent.
EXPECT_CALL(personal_data_observer_,
OnPersonalDataChanged()).WillOnce(QuitUIMessageLoop());
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
const std::vector<AutofillProfile*>& profiles3 =
personal_data_->GetProfiles();
@@ -1929,7 +1929,7 @@ TEST_F(PersonalDataManagerTest, AggregateExistingVerifiedProfileWithConflict) {
// Verify that the web database has been updated and the notification sent.
EXPECT_CALL(personal_data_observer_,
OnPersonalDataChanged()).WillOnce(QuitUIMessageLoop());
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
// Simulate a form submission with conflicting info.
FormData form;
@@ -1987,7 +1987,7 @@ TEST_F(PersonalDataManagerTest,
// Verify that the web database has been updated and the notification sent.
EXPECT_CALL(personal_data_observer_,
OnPersonalDataChanged()).WillOnce(QuitUIMessageLoop());
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
// Simulate a form submission with conflicting expiration year.
FormData form;
« no previous file with comments | « chrome/test/pyautolib/pyautolib.cc ('k') | components/webdata/common/web_data_request_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698