Chromium Code Reviews| Index: chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc |
| diff --git a/chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc b/chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc |
| index f1e104cdb9f638ed99f8772f92804fabded4b523..856e68d410eca3f81b2fd14ec849587c74af1b28 100644 |
| --- a/chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc |
| +++ b/chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc |
| @@ -12,7 +12,9 @@ |
| #include "base/files/file_util.h" |
| #include "base/files/scoped_temp_dir.h" |
| #include "base/run_loop.h" |
| +#include "base/single_thread_task_runner.h" |
|
Lei Zhang
2015/05/07 20:02:49
In the files where you do not call base::ThreadTas
|
| #include "base/synchronization/waitable_event.h" |
| +#include "base/thread_task_runner_handle.h" |
| #include "base/time/time.h" |
| #include "chrome/browser/media_galleries/fileapi/iphoto_data_provider.h" |
| #include "chrome/browser/media_galleries/fileapi/iphoto_file_util.h" |
| @@ -207,8 +209,8 @@ class IPhotoFileUtilTest : public testing::Test { |
| iphoto_data_provider_.get()))); |
| file_system_context_ = new storage::FileSystemContext( |
| - base::MessageLoopProxy::current().get(), |
| - base::MessageLoopProxy::current().get(), |
| + base::ThreadTaskRunnerHandle::Get(), |
| + base::ThreadTaskRunnerHandle::Get(), |
| storage::ExternalMountPoints::CreateRefCounted().get(), |
| storage_policy.get(), |
| NULL, |