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

Unified Diff: chrome/browser/chromeos/drive/file_system_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/chromeos/drive/file_system_unittest.cc
diff --git a/chrome/browser/chromeos/drive/file_system_unittest.cc b/chrome/browser/chromeos/drive/file_system_unittest.cc
index 5848e11cd2e9e32c39304a4bcf3b90b24c6ec7cc..ddd03e289b1a46b293f938118622f9c4746d1625 100644
--- a/chrome/browser/chromeos/drive/file_system_unittest.cc
+++ b/chrome/browser/chromeos/drive/file_system_unittest.cc
@@ -52,7 +52,7 @@ struct SearchResultPair {
// Callback to FileSystem::Search used in ContentSearch tests.
// Verifies returned vector of results and next feed url.
void DriveSearchCallback(
- MessageLoop* message_loop,
+ base::MessageLoop* message_loop,
const SearchResultPair* expected_results,
size_t expected_results_size,
const GURL& expected_next_feed,
@@ -87,7 +87,7 @@ int CountFiles(const ResourceEntryVector& entries) {
// Counts the number of invocation, and if it increased up to |expected_counter|
// quits the current message loop.
void AsyncInitializationCallback(
- int* counter, int expected_counter, MessageLoop* message_loop,
+ int* counter, int expected_counter, base::MessageLoop* message_loop,
FileError error, scoped_ptr<ResourceEntry> entry) {
if (error != FILE_ERROR_OK || !entry) {
// If we hit an error case, quit the message loop immediately.
@@ -433,7 +433,7 @@ class DriveFileSystemTest : public testing::Test {
EXPECT_EQ(entry.resource_id(), resource_id);
}
- MessageLoopForUI message_loop_;
+ base::MessageLoopForUI message_loop_;
content::TestBrowserThread ui_thread_;
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
scoped_ptr<TestingProfile> profile_;

Powered by Google App Engine
This is Rietveld 408576698