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

Unified Diff: chrome/browser/sync/test/integration/autofill_helper.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again 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
Index: chrome/browser/sync/test/integration/autofill_helper.cc
diff --git a/chrome/browser/sync/test/integration/autofill_helper.cc b/chrome/browser/sync/test/integration/autofill_helper.cc
index ed4adfdbbc0601758861310ff3c1c073a50ab1e2..e848a171de5979312901930dbe272587c099e355 100644
--- a/chrome/browser/sync/test/integration/autofill_helper.cc
+++ b/chrome/browser/sync/test/integration/autofill_helper.cc
@@ -241,7 +241,7 @@ void SetProfiles(int profile, std::vector<AutofillProfile>* autofill_profiles) {
PersonalDataManager* pdm = GetPersonalDataManager(profile);
pdm->AddObserver(&observer);
pdm->SetProfiles(autofill_profiles);
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
pdm->RemoveObserver(&observer);
}
@@ -252,7 +252,7 @@ void SetCreditCards(int profile, std::vector<CreditCard>* credit_cards) {
PersonalDataManager* pdm = GetPersonalDataManager(profile);
pdm->AddObserver(&observer);
pdm->SetCreditCards(credit_cards);
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
pdm->RemoveObserver(&observer);
}
@@ -297,7 +297,7 @@ const std::vector<AutofillProfile*>& GetAllProfiles(
PersonalDataManager* pdm = GetPersonalDataManager(profile);
pdm->AddObserver(&observer);
pdm->Refresh();
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
pdm->RemoveObserver(&observer);
return pdm->web_profiles();
}
« no previous file with comments | « chrome/browser/sync/sync_ui_util_unittest.cc ('k') | chrome/browser/sync/test/integration/bookmarks_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698