Index: chrome/browser/chromeos/drive/change_list_processor_unittest.cc |
diff --git a/chrome/browser/chromeos/drive/change_list_processor_unittest.cc b/chrome/browser/chromeos/drive/change_list_processor_unittest.cc |
index 5ba073ec224b1616f3d8ba216b72ed470d61b7f1..ff0f06c9889d8f67506af3e3c097e1083864237c 100644 |
--- a/chrome/browser/chromeos/drive/change_list_processor_unittest.cc |
+++ b/chrome/browser/chromeos/drive/change_list_processor_unittest.cc |
@@ -5,7 +5,7 @@ |
#include "chrome/browser/chromeos/drive/change_list_processor.h" |
#include "base/files/scoped_temp_dir.h" |
-#include "base/message_loop/message_loop_proxy.h" |
+#include "base/thread_task_runner_handle.h" |
#include "base/values.h" |
#include "chrome/browser/chromeos/drive/drive.pb.h" |
#include "chrome/browser/chromeos/drive/fake_free_disk_space_getter.h" |
@@ -102,19 +102,18 @@ class ChangeListProcessorTest : public testing::Test { |
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
metadata_storage_.reset(new ResourceMetadataStorage( |
- temp_dir_.path(), base::MessageLoopProxy::current().get())); |
+ temp_dir_.path(), base::ThreadTaskRunnerHandle::Get())); |
ASSERT_TRUE(metadata_storage_->Initialize()); |
fake_free_disk_space_getter_.reset(new FakeFreeDiskSpaceGetter); |
- cache_.reset(new FileCache(metadata_storage_.get(), |
- temp_dir_.path(), |
- base::MessageLoopProxy::current().get(), |
+ cache_.reset(new FileCache(metadata_storage_.get(), temp_dir_.path(), |
+ base::ThreadTaskRunnerHandle::Get(), |
fake_free_disk_space_getter_.get())); |
ASSERT_TRUE(cache_->Initialize()); |
- metadata_.reset(new internal::ResourceMetadata( |
- metadata_storage_.get(), cache_.get(), |
- base::MessageLoopProxy::current())); |
+ metadata_.reset( |
+ new internal::ResourceMetadata(metadata_storage_.get(), cache_.get(), |
+ base::ThreadTaskRunnerHandle::Get())); |
ASSERT_EQ(FILE_ERROR_OK, metadata_->Initialize()); |
} |