Index: chrome/browser/chromeos/drive/file_system_util_unittest.cc |
diff --git a/chrome/browser/chromeos/drive/file_system_util_unittest.cc b/chrome/browser/chromeos/drive/file_system_util_unittest.cc |
index 7bbbe0a0de5bad20292263779fb23087dc84fe98..1cd3278054cc45a6e50c8950ad8a2f0ef2363a38 100644 |
--- a/chrome/browser/chromeos/drive/file_system_util_unittest.cc |
+++ b/chrome/browser/chromeos/drive/file_system_util_unittest.cc |
@@ -9,7 +9,9 @@ |
#include "base/files/file_path.h" |
#include "base/files/file_util.h" |
#include "base/files/scoped_temp_dir.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "base/thread_task_runner_handle.h" |
#include "chrome/browser/chromeos/profiles/profile_helper.h" |
#include "chrome/test/base/testing_browser_process.h" |
#include "chrome/test/base/testing_profile.h" |
@@ -131,9 +133,8 @@ TEST_F(FileSystemUtilTest, ExtractDrivePathFromFileSystemUrl) { |
storage::ExternalMountPoints::CreateRefCounted(); |
scoped_refptr<storage::FileSystemContext> context( |
new storage::FileSystemContext( |
- base::MessageLoopProxy::current().get(), |
- base::MessageLoopProxy::current().get(), |
- mount_points.get(), |
+ base::ThreadTaskRunnerHandle::Get(), |
+ base::ThreadTaskRunnerHandle::Get(), mount_points.get(), |
NULL, // special_storage_policy |
NULL, // quota_manager_proxy, |
ScopedVector<storage::FileSystemBackend>(), |