| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "storage/browser/fileapi/file_system_context.h" | 5 #include "storage/browser/fileapi/file_system_context.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
| 12 #include "base/threading/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
| 13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 #include "content/browser/quota/mock_quota_manager.h" | |
| 15 #include "content/public/test/mock_special_storage_policy.h" | |
| 16 #include "content/public/test/test_file_system_options.h" | |
| 17 #include "storage/browser/fileapi/external_mount_points.h" | 14 #include "storage/browser/fileapi/external_mount_points.h" |
| 18 #include "storage/browser/fileapi/file_system_backend.h" | 15 #include "storage/browser/fileapi/file_system_backend.h" |
| 19 #include "storage/browser/fileapi/isolated_context.h" | 16 #include "storage/browser/fileapi/isolated_context.h" |
| 17 #include "storage/browser/test/mock_quota_manager.h" |
| 18 #include "storage/browser/test/mock_special_storage_policy.h" |
| 19 #include "storage/browser/test/test_file_system_options.h" |
| 20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
| 21 | 21 |
| 22 #define FPL(x) FILE_PATH_LITERAL(x) | 22 #define FPL(x) FILE_PATH_LITERAL(x) |
| 23 | 23 |
| 24 #if defined(FILE_PATH_USES_DRIVE_LETTERS) | 24 #if defined(FILE_PATH_USES_DRIVE_LETTERS) |
| 25 #define DRIVE FPL("C:") | 25 #define DRIVE FPL("C:") |
| 26 #else | 26 #else |
| 27 #define DRIVE | 27 #define DRIVE |
| 28 #endif | 28 #endif |
| 29 | 29 |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 storage::kFileSystemTypeForTransientFile)); | 382 storage::kFileSystemTypeForTransientFile)); |
| 383 EXPECT_TRUE(file_system_context->GetFileSystemBackend( | 383 EXPECT_TRUE(file_system_context->GetFileSystemBackend( |
| 384 storage::kFileSystemTypeNativeLocal)); | 384 storage::kFileSystemTypeNativeLocal)); |
| 385 EXPECT_TRUE(file_system_context->GetFileSystemBackend( | 385 EXPECT_TRUE(file_system_context->GetFileSystemBackend( |
| 386 storage::kFileSystemTypeNativeForPlatformApp)); | 386 storage::kFileSystemTypeNativeForPlatformApp)); |
| 387 } | 387 } |
| 388 | 388 |
| 389 } // namespace | 389 } // namespace |
| 390 | 390 |
| 391 } // namespace content | 391 } // namespace content |
| OLD | NEW |