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

Unified Diff: chrome/browser/extensions/image_loader_unittest.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/image_loader_unittest.cc
diff --git a/chrome/browser/extensions/image_loader_unittest.cc b/chrome/browser/extensions/image_loader_unittest.cc
index c34f1288737118209dc386d695f64c774f68ade5..04cf2c9f9ddbfeb3addbe7d50ebcccc96fc45a90 100644
--- a/chrome/browser/extensions/image_loader_unittest.cc
+++ b/chrome/browser/extensions/image_loader_unittest.cc
@@ -43,13 +43,13 @@ class ImageLoaderTest : public testing::Test {
void OnImageLoaded(const gfx::Image& image) {
image_loaded_count_++;
if (quit_in_image_loaded_)
- MessageLoop::current()->Quit();
+ base::MessageLoop::current()->Quit();
image_ = image;
}
void WaitForImageLoad() {
quit_in_image_loaded_ = true;
- MessageLoop::current()->Run();
+ base::MessageLoop::current()->Run();
quit_in_image_loaded_ = false;
}
@@ -105,7 +105,7 @@ class ImageLoaderTest : public testing::Test {
int image_loaded_count_;
bool quit_in_image_loaded_;
- MessageLoop ui_loop_;
+ base::MessageLoop ui_loop_;
content::TestBrowserThread ui_thread_;
content::TestBrowserThread file_thread_;
content::TestBrowserThread io_thread_;
« no previous file with comments | « chrome/browser/extensions/external_policy_loader_unittest.cc ('k') | chrome/browser/extensions/installed_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698