Chromium Code Reviews| Index: webkit/fileapi/file_system_context_unittest.cc |
| diff --git a/webkit/fileapi/file_system_context_unittest.cc b/webkit/fileapi/file_system_context_unittest.cc |
| index b72929cbc97912e11aa9bb245aeab38c197322fe..024a1ae248717c6efe9c9e1edd9198c29ed575e5 100644 |
| --- a/webkit/fileapi/file_system_context_unittest.cc |
| +++ b/webkit/fileapi/file_system_context_unittest.cc |
| @@ -9,6 +9,7 @@ |
| #include "base/stringprintf.h" |
| #include "testing/gtest/include/gtest/gtest.h" |
| #include "webkit/fileapi/external_mount_points.h" |
| +#include "webkit/fileapi/file_system_mount_point_provider.h" |
| #include "webkit/fileapi/file_system_task_runners.h" |
| #include "webkit/fileapi/isolated_context.h" |
| #include "webkit/fileapi/mock_file_system_options.h" |
| @@ -62,8 +63,9 @@ class FileSystemContextTest : public testing::Test { |
| return new FileSystemContext( |
| FileSystemTaskRunners::CreateMockTaskRunners(), |
| external_mount_points, |
| - storage_policy_, |
| + make_scoped_refptr(new quota::MockSpecialStoragePolicy()), |
|
kinuko
2013/04/17 14:27:29
Will revert this change back to storage_policy_
|
| mock_quota_manager_->proxy(), |
| + ScopedVector<FileSystemMountPointProvider>(), |
| data_dir_.path(), |
| CreateAllowFileAccessOptions()); |
| } |
| @@ -134,7 +136,8 @@ TEST_F(FileSystemContextTest, NullExternalMountPoints) { |
| GURL(kTestOrigin), |
| kFileSystemTypeExternal, |
| kFileSystemTypeNativeLocal, |
| - base::FilePath(DRIVE FPL("/test/sys/root/file")).NormalizePathSeparators(), |
| + base::FilePath( |
| + DRIVE FPL("/test/sys/root/file")).NormalizePathSeparators(), |
| base::FilePath(FPL("system/root/file")).NormalizePathSeparators(), |
| "system"); |
| @@ -170,7 +173,8 @@ TEST_F(FileSystemContextTest, FileSystemContextKeepsMountPointsAlive) { |
| GURL(kTestOrigin), |
| kFileSystemTypeExternal, |
| kFileSystemTypeNativeLocal, |
| - base::FilePath(DRIVE FPL("/test/sys/root/file")).NormalizePathSeparators(), |
| + base::FilePath( |
| + DRIVE FPL("/test/sys/root/file")).NormalizePathSeparators(), |
| base::FilePath(FPL("system/root/file")).NormalizePathSeparators(), |
| "system"); |