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

Unified Diff: chrome/browser/extensions/api/system_info_storage/storage_info_provider_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/api/system_info_storage/storage_info_provider_unittest.cc
diff --git a/chrome/browser/extensions/api/system_info_storage/storage_info_provider_unittest.cc b/chrome/browser/extensions/api/system_info_storage/storage_info_provider_unittest.cc
index d80b14f88f657cd043fd6b232b9e772d140746d0..a22573521c66c0824eeafb83954cf34c6c2f9b49 100644
--- a/chrome/browser/extensions/api/system_info_storage/storage_info_provider_unittest.cc
+++ b/chrome/browser/extensions/api/system_info_storage/storage_info_provider_unittest.cc
@@ -173,7 +173,7 @@ void TestStorageInfoProvider::OnCheckWatchedStoragesFinishedForTesting() {
// Note the QuitClosure is actually bound to QuitCurrentWhenIdle, it means
// that the UI thread wil continue to process pending messages util idle.
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- MessageLoop::QuitClosure());
+ base::MessageLoop::QuitClosure());
}
class StorageInfoProviderTest : public testing::Test {
@@ -190,14 +190,14 @@ class StorageInfoProviderTest : public testing::Test {
static void RunLoopAndFlushBlockingPool();
static void RunAllPendingAndFlushBlockingPool();
- MessageLoop message_loop_;
+ base::MessageLoop message_loop_;
content::TestBrowserThread ui_thread_;
scoped_refptr<TestStorageInfoProvider> storage_info_provider_;
scoped_ptr<TestStorageMonitor> storage_test_notifications_;
};
StorageInfoProviderTest::StorageInfoProviderTest()
- : message_loop_(MessageLoop::TYPE_UI),
+ : message_loop_(base::MessageLoop::TYPE_UI),
ui_thread_(BrowserThread::UI, &message_loop_) {
}

Powered by Google App Engine
This is Rietveld 408576698