| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_TEST_HELPER_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_TEST_HELPER_H_ |
| 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_TEST_HELPER_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_TEST_HELPER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 namespace quota { | 24 namespace quota { |
| 25 class QuotaManagerProxy; | 25 class QuotaManagerProxy; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace fileapi { | 28 namespace fileapi { |
| 29 | 29 |
| 30 class FileSystemContext; | 30 class FileSystemContext; |
| 31 class FileSystemFileUtil; | 31 class FileSystemFileUtil; |
| 32 class FileSystemOperationContext; | 32 class FileSystemOperationContext; |
| 33 class FileSystemOperationRunner; | 33 class FileSystemOperationRunner; |
| 34 class LocalFileSystemOperation; | |
| 35 | 34 |
| 36 // Filesystem test helper class that encapsulates test environment for | 35 // Filesystem test helper class that encapsulates test environment for |
| 37 // a given {origin, type} pair. This helper only works for sandboxed | 36 // a given {origin, type} pair. This helper only works for sandboxed |
| 38 // file systems (Temporary or Persistent). | 37 // file systems (Temporary or Persistent). |
| 39 class SandboxFileSystemTestHelper { | 38 class SandboxFileSystemTestHelper { |
| 40 public: | 39 public: |
| 41 SandboxFileSystemTestHelper(const GURL& origin, FileSystemType type); | 40 SandboxFileSystemTestHelper(const GURL& origin, FileSystemType type); |
| 42 SandboxFileSystemTestHelper(); | 41 SandboxFileSystemTestHelper(); |
| 43 ~SandboxFileSystemTestHelper(); | 42 ~SandboxFileSystemTestHelper(); |
| 44 | 43 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 scoped_refptr<FileSystemContext> file_system_context_; | 94 scoped_refptr<FileSystemContext> file_system_context_; |
| 96 | 95 |
| 97 const GURL origin_; | 96 const GURL origin_; |
| 98 const FileSystemType type_; | 97 const FileSystemType type_; |
| 99 FileSystemFileUtil* file_util_; | 98 FileSystemFileUtil* file_util_; |
| 100 }; | 99 }; |
| 101 | 100 |
| 102 } // namespace fileapi | 101 } // namespace fileapi |
| 103 | 102 |
| 104 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_TEST_HELPER_H_ | 103 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_TEST_HELPER_H_ |
| OLD | NEW |