| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_FILEAPI_FILE_SYSTEM_TEST_HELPER_H_ | 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_TEST_HELPER_H_ |
| 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_TEST_HELPER_H_ | 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_TEST_HELPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 class FilePath; | 23 class FilePath; |
| 24 | 24 |
| 25 namespace fileapi { | 25 namespace fileapi { |
| 26 | 26 |
| 27 class FileSystemCallbackDispatcher; | 27 class FileSystemCallbackDispatcher; |
| 28 class FileSystemContext; | 28 class FileSystemContext; |
| 29 class FileSystemFileUtil; | 29 class FileSystemFileUtil; |
| 30 class FileSystemOperation; | 30 class FileSystemOperation; |
| 31 class FileSystemOperationContext; | 31 class FileSystemOperationContext; |
| 32 class FileSystemPathManager; | |
| 33 | 32 |
| 34 // Filesystem test helper class that encapsulates test environment for | 33 // Filesystem test helper class that encapsulates test environment for |
| 35 // a given {origin, type} pair. | 34 // a given {origin, type} pair. |
| 36 class FileSystemTestOriginHelper { | 35 class FileSystemTestOriginHelper { |
| 37 public: | 36 public: |
| 38 FileSystemTestOriginHelper(const GURL& origin, FileSystemType type); | 37 FileSystemTestOriginHelper(const GURL& origin, FileSystemType type); |
| 39 FileSystemTestOriginHelper(); | 38 FileSystemTestOriginHelper(); |
| 40 ~FileSystemTestOriginHelper(); | 39 ~FileSystemTestOriginHelper(); |
| 41 | 40 |
| 42 void SetUp(const FilePath& base_dir, FileSystemFileUtil* file_util); | 41 void SetUp(const FilePath& base_dir, FileSystemFileUtil* file_util); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 scoped_refptr<FileSystemContext> file_system_context_; | 85 scoped_refptr<FileSystemContext> file_system_context_; |
| 87 const GURL origin_; | 86 const GURL origin_; |
| 88 const FileSystemType type_; | 87 const FileSystemType type_; |
| 89 FileSystemFileUtil* file_util_; | 88 FileSystemFileUtil* file_util_; |
| 90 int64 initial_usage_size_; | 89 int64 initial_usage_size_; |
| 91 }; | 90 }; |
| 92 | 91 |
| 93 } // namespace fileapi | 92 } // namespace fileapi |
| 94 | 93 |
| 95 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TEST_HELPER_H_ | 94 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TEST_HELPER_H_ |
| OLD | NEW |