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

Unified Diff: chrome/browser/chromeos/drive/drive_file_stream_reader_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/chromeos/drive/drive_file_stream_reader_unittest.cc
diff --git a/chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc b/chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc
index 38f88b63a092a15b9b3254db8c9812e87d6aff2b..7832de106d3ba8be59c63272834528e1f5d7fbbf 100644
--- a/chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc
+++ b/chrome/browser/chromeos/drive/drive_file_stream_reader_unittest.cc
@@ -45,7 +45,7 @@ TEST(LocalReaderProxyTest, Read) {
ASSERT_TRUE(file_util::ReadFileToString(kTestFile, &expected_content));
// The LocalReaderProxy should live on IO thread.
- MessageLoopForIO io_loop;
+ base::MessageLoopForIO io_loop;
content::TestBrowserThread io_thread(BrowserThread::IO, &io_loop);
{
@@ -90,7 +90,7 @@ TEST(LocalReaderProxyTest, Read) {
TEST(NetworkReaderProxyTest, EmptyFile) {
// The NetworkReaderProxy should live on IO thread.
- MessageLoopForIO io_loop;
+ base::MessageLoopForIO io_loop;
content::TestBrowserThread io_thread(BrowserThread::IO, &io_loop);
NetworkReaderProxy proxy(0, base::Bind(&base::DoNothing));
@@ -106,7 +106,7 @@ TEST(NetworkReaderProxyTest, EmptyFile) {
TEST(NetworkReaderProxyTest, Read) {
// The NetworkReaderProxy should live on IO thread.
- MessageLoopForIO io_loop;
+ base::MessageLoopForIO io_loop;
content::TestBrowserThread io_thread(BrowserThread::IO, &io_loop);
NetworkReaderProxy proxy(10, base::Bind(&base::DoNothing));
@@ -155,7 +155,7 @@ TEST(NetworkReaderProxyTest, Read) {
TEST(NetworkReaderProxyTest, ErrorWithPendingCallback) {
// The NetworkReaderProxy should live on IO thread.
- MessageLoopForIO io_loop;
+ base::MessageLoopForIO io_loop;
content::TestBrowserThread io_thread(BrowserThread::IO, &io_loop);
NetworkReaderProxy proxy(10, base::Bind(&base::DoNothing));
@@ -180,7 +180,7 @@ TEST(NetworkReaderProxyTest, ErrorWithPendingCallback) {
TEST(NetworkReaderProxyTest, ErrorWithPendingData) {
// The NetworkReaderProxy should live on IO thread.
- MessageLoopForIO io_loop;
+ base::MessageLoopForIO io_loop;
content::TestBrowserThread io_thread(BrowserThread::IO, &io_loop);
NetworkReaderProxy proxy(10, base::Bind(&base::DoNothing));
@@ -204,7 +204,7 @@ TEST(NetworkReaderProxyTest, ErrorWithPendingData) {
TEST(NetworkReaderProxyTest, CancelJob) {
// The NetworkReaderProxy should live on IO thread.
- MessageLoopForIO io_loop;
+ base::MessageLoopForIO io_loop;
content::TestBrowserThread io_thread(BrowserThread::IO, &io_loop);
int num_called = 0;
@@ -285,7 +285,7 @@ class DriveFileStreamReaderTest : public ::testing::Test {
base::Unretained(this));
}
- MessageLoopForIO message_loop_;
+ base::MessageLoopForIO message_loop_;
content::TestBrowserThread ui_thread_;
content::TestBrowserThread io_thread_;

Powered by Google App Engine
This is Rietveld 408576698