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

Unified Diff: chrome/browser/extensions/api/top_sites/top_sites_apitest.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/extensions/api/top_sites/top_sites_apitest.cc
diff --git a/chrome/browser/extensions/api/top_sites/top_sites_apitest.cc b/chrome/browser/extensions/api/top_sites/top_sites_apitest.cc
index 32c791b708dd4d7ff41c41736a74a7294fa577cb..7d8086c577a3a6750f150015bc290762244afdf8 100644
--- a/chrome/browser/extensions/api/top_sites/top_sites_apitest.cc
+++ b/chrome/browser/extensions/api/top_sites/top_sites_apitest.cc
@@ -33,7 +33,7 @@ class TopSitesExtensionTest : public InProcessBrowserTest {
if (!top_sites_inited_) {
waiting_ = true;
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
}
// By this point, we know topsites has loaded. We can run the tests now.
@@ -42,7 +42,7 @@ class TopSitesExtensionTest : public InProcessBrowserTest {
private:
void OnTopSitesAvailable(const history::MostVisitedURLList& data) {
if (waiting_) {
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
waiting_ = false;
}
top_sites_inited_ = true;
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_api.cc ('k') | chrome/browser/extensions/api/web_request/web_request_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698