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

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: Created 7 years, 8 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 431bed8ae62384b484986504ce5a2e449ca496a0..e3c958b4ee5cd3bfc243383e19d37431425c3f1f 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
@@ -172,8 +172,8 @@ void TestStorageInfoProvider::OnCheckWatchedStoragesFinishedForTesting() {
// quit the message loop to given UI thread a chance to verify the results.
// 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());
+ BrowserThread::PostTask(
+ BrowserThread::UI, FROM_HERE, base::MessageLoop::QuitClosure());
}
class StorageInfoProviderTest : public testing::Test {
@@ -190,16 +190,15 @@ 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),
- ui_thread_(BrowserThread::UI, &message_loop_) {
-}
+ : message_loop_(base::MessageLoop::TYPE_UI),
+ ui_thread_(BrowserThread::UI, &message_loop_) {}
StorageInfoProviderTest::~StorageInfoProviderTest() {
}

Powered by Google App Engine
This is Rietveld 408576698