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

Unified Diff: chrome/browser/chromeos/settings/device_settings_test_helper.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/chromeos/settings/device_settings_test_helper.cc
diff --git a/chrome/browser/chromeos/settings/device_settings_test_helper.cc b/chrome/browser/chromeos/settings/device_settings_test_helper.cc
index b2a97858c536f686a3fa889be018b512193e47d3..4f9bd0053f8390e70945ecb27e5446b20a46ef5e 100644
--- a/chrome/browser/chromeos/settings/device_settings_test_helper.cc
+++ b/chrome/browser/chromeos/settings/device_settings_test_helper.cc
@@ -23,10 +23,10 @@ void DeviceSettingsTestHelper::FlushLoops() {
// between the message loop and the blocking pool. 2 iterations are currently
// sufficient (key loading, signing).
for (int i = 0; i < 2; ++i) {
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
content::BrowserThread::GetBlockingPool()->FlushForTesting();
}
- MessageLoop::current()->RunUntilIdle();
+ base::MessageLoop::current()->RunUntilIdle();
}
void DeviceSettingsTestHelper::FlushStore() {
@@ -180,7 +180,7 @@ ScopedDeviceSettingsTestHelper::~ScopedDeviceSettingsTestHelper() {
}
DeviceSettingsTestBase::DeviceSettingsTestBase()
- : loop_(MessageLoop::TYPE_UI),
+ : loop_(base::MessageLoop::TYPE_UI),
ui_thread_(content::BrowserThread::UI, &loop_),
file_thread_(content::BrowserThread::FILE, &loop_),
owner_key_util_(new MockOwnerKeyUtil()) {}

Powered by Google App Engine
This is Rietveld 408576698