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

Unified Diff: chrome/browser/storage_monitor/storage_monitor_linux_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/storage_monitor/storage_monitor_linux_unittest.cc
diff --git a/chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc b/chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc
index 46a4aadc4daedfeb70e63543a95d16b019f162fb..0287ade666990d6822dc9e1e2d2e19016dcc8e80 100644
--- a/chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc
+++ b/chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc
@@ -122,7 +122,8 @@ std::string GetDeviceId(const std::string& device) {
class TestStorageMonitorLinux : public StorageMonitorLinux {
public:
- TestStorageMonitorLinux(const base::FilePath& path, MessageLoop* message_loop)
+ TestStorageMonitorLinux(const base::FilePath& path,
+ base::MessageLoop* message_loop)
: StorageMonitorLinux(path),
message_loop_(message_loop) {
SetMediaTransferProtocolManagerForTest(
@@ -135,10 +136,10 @@ class TestStorageMonitorLinux : public StorageMonitorLinux {
virtual void UpdateMtab(
const MtabWatcherLinux::MountPointDeviceMap& new_mtab) OVERRIDE {
StorageMonitorLinux::UpdateMtab(new_mtab);
- message_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
+ message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
}
- MessageLoop* message_loop_;
+ base::MessageLoop* message_loop_;
DISALLOW_COPY_AND_ASSIGN(TestStorageMonitorLinux);
};
@@ -160,7 +161,7 @@ class StorageMonitorLinuxTest : public testing::Test {
};
StorageMonitorLinuxTest()
- : message_loop_(MessageLoop::TYPE_IO),
+ : message_loop_(base::MessageLoop::TYPE_IO),
ui_thread_(content::BrowserThread::UI, &message_loop_),
file_thread_(content::BrowserThread::FILE, &message_loop_) {
}
@@ -304,7 +305,7 @@ class StorageMonitorLinuxTest : public testing::Test {
}
// The message loop and file thread to run tests on.
- MessageLoop message_loop_;
+ base::MessageLoop message_loop_;
content::TestBrowserThread ui_thread_;
content::TestBrowserThread file_thread_;

Powered by Google App Engine
This is Rietveld 408576698