| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "webkit/fileapi/file_system_context.h" | 5 #include "webkit/fileapi/file_system_context.h" |
| 6 | 6 |
| 7 #include "base/files/scoped_temp_dir.h" | 7 #include "base/files/scoped_temp_dir.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 11 #include "webkit/browser/fileapi/external_mount_points.h" |
| 11 #include "webkit/browser/fileapi/file_system_mount_point_provider.h" | 12 #include "webkit/browser/fileapi/file_system_mount_point_provider.h" |
| 12 #include "webkit/fileapi/external_mount_points.h" | 13 #include "webkit/browser/fileapi/file_system_task_runners.h" |
| 13 #include "webkit/fileapi/file_system_task_runners.h" | 14 #include "webkit/browser/fileapi/isolated_context.h" |
| 14 #include "webkit/fileapi/isolated_context.h" | 15 #include "webkit/browser/fileapi/mock_file_system_options.h" |
| 15 #include "webkit/fileapi/mock_file_system_options.h" | |
| 16 #include "webkit/quota/mock_quota_manager.h" | 16 #include "webkit/quota/mock_quota_manager.h" |
| 17 #include "webkit/quota/mock_special_storage_policy.h" | 17 #include "webkit/quota/mock_special_storage_policy.h" |
| 18 | 18 |
| 19 #define FPL(x) FILE_PATH_LITERAL(x) | 19 #define FPL(x) FILE_PATH_LITERAL(x) |
| 20 | 20 |
| 21 #if defined(FILE_PATH_USES_DRIVE_LETTERS) | 21 #if defined(FILE_PATH_USES_DRIVE_LETTERS) |
| 22 #define DRIVE FPL("C:") | 22 #define DRIVE FPL("C:") |
| 23 #else | 23 #else |
| 24 #define DRIVE | 24 #define DRIVE |
| 25 #endif | 25 #endif |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 base::FilePath(DRIVE FPL("/test/isolated/root"))); | 320 base::FilePath(DRIVE FPL("/test/isolated/root"))); |
| 321 ExternalMountPoints::GetSystemInstance()->RevokeFileSystem("system"); | 321 ExternalMountPoints::GetSystemInstance()->RevokeFileSystem("system"); |
| 322 ExternalMountPoints::GetSystemInstance()->RevokeFileSystem("ext"); | 322 ExternalMountPoints::GetSystemInstance()->RevokeFileSystem("ext"); |
| 323 ExternalMountPoints::GetSystemInstance()->RevokeFileSystem( | 323 ExternalMountPoints::GetSystemInstance()->RevokeFileSystem( |
| 324 kIsolatedFileSystemID); | 324 kIsolatedFileSystemID); |
| 325 } | 325 } |
| 326 | 326 |
| 327 } // namespace | 327 } // namespace |
| 328 | 328 |
| 329 } // namespace fileapi | 329 } // namespace fileapi |
| OLD | NEW |