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

Unified Diff: chrome/browser/extensions/api/system_info_cpu/cpu_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_cpu/cpu_info_provider_unittest.cc
diff --git a/chrome/browser/extensions/api/system_info_cpu/cpu_info_provider_unittest.cc b/chrome/browser/extensions/api/system_info_cpu/cpu_info_provider_unittest.cc
index 8db85c190361016a693851e809b0f11669cc7d33..18aa3da82320acb96de1e0cb1aea11caeda9f264 100644
--- a/chrome/browser/extensions/api/system_info_cpu/cpu_info_provider_unittest.cc
+++ b/chrome/browser/extensions/api/system_info_cpu/cpu_info_provider_unittest.cc
@@ -145,7 +145,7 @@ class CpuInfoProviderTest : public testing::Test {
void VerifyResult();
protected:
- MessageLoop message_loop_;
+ base::MessageLoop message_loop_;
content::TestBrowserThread ui_thread_;
content::TestBrowserThread file_thread_;
scoped_refptr<TestCpuInfoProvider> cpu_info_provider_;
@@ -158,7 +158,7 @@ class CpuInfoProviderTest : public testing::Test {
};
CpuInfoProviderTest::CpuInfoProviderTest()
- : message_loop_(MessageLoop::TYPE_UI),
+ : message_loop_(base::MessageLoop::TYPE_UI),
ui_thread_(BrowserThread::UI, &message_loop_),
file_thread_(BrowserThread::FILE, &message_loop_) {
}
@@ -173,7 +173,7 @@ void CpuInfoProviderTest::OnCheckCpuSamplingFinishedForTesting(
// UI thread a chance to verify results.
if (cpu_info_provider_->is_complete_sampling()) {
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- MessageLoop::QuitClosure());
+ base::MessageLoop::QuitClosure());
}
TestCpuUpdateInfo result;

Powered by Google App Engine
This is Rietveld 408576698