| Index: content/browser/fileapi/file_system_context_unittest.cc
|
| diff --git a/content/browser/fileapi/file_system_context_unittest.cc b/content/browser/fileapi/file_system_context_unittest.cc
|
| index b1ffb6359d0f7d21aa7f4192bb93b612f80482a8..c071c4b4d536d9484e4c8f5e563b94b4b4969289 100644
|
| --- a/content/browser/fileapi/file_system_context_unittest.cc
|
| +++ b/content/browser/fileapi/file_system_context_unittest.cc
|
| @@ -5,8 +5,8 @@
|
| #include "storage/browser/fileapi/file_system_context.h"
|
|
|
| #include "base/files/scoped_temp_dir.h"
|
| +#include "base/message_loop/message_loop.h"
|
| #include "base/strings/stringprintf.h"
|
| -#include "base/thread_task_runner_handle.h"
|
| #include "content/browser/quota/mock_quota_manager.h"
|
| #include "content/public/test/mock_special_storage_policy.h"
|
| #include "content/public/test/test_file_system_options.h"
|
| @@ -54,21 +54,26 @@ class FileSystemContextTest : public testing::Test {
|
|
|
| storage_policy_ = new MockSpecialStoragePolicy();
|
|
|
| - mock_quota_manager_ = new MockQuotaManager(
|
| - false /* is_incognito */, data_dir_.path(),
|
| - base::ThreadTaskRunnerHandle::Get().get(),
|
| - base::ThreadTaskRunnerHandle::Get().get(), storage_policy_.get());
|
| + mock_quota_manager_ =
|
| + new MockQuotaManager(false /* is_incognito */,
|
| + data_dir_.path(),
|
| + base::MessageLoopProxy::current().get(),
|
| + base::MessageLoopProxy::current().get(),
|
| + storage_policy_.get());
|
| }
|
|
|
| protected:
|
| FileSystemContext* CreateFileSystemContextForTest(
|
| storage::ExternalMountPoints* external_mount_points) {
|
| return new FileSystemContext(
|
| - base::ThreadTaskRunnerHandle::Get().get(),
|
| - base::ThreadTaskRunnerHandle::Get().get(), external_mount_points,
|
| - storage_policy_.get(), mock_quota_manager_->proxy(),
|
| + base::MessageLoopProxy::current().get(),
|
| + base::MessageLoopProxy::current().get(),
|
| + external_mount_points,
|
| + storage_policy_.get(),
|
| + mock_quota_manager_->proxy(),
|
| ScopedVector<FileSystemBackend>(),
|
| - std::vector<storage::URLRequestAutoMountHandler>(), data_dir_.path(),
|
| + std::vector<storage::URLRequestAutoMountHandler>(),
|
| + data_dir_.path(),
|
| CreateAllowFileAccessOptions());
|
| }
|
|
|
|
|