Chromium Code Reviews| Index: content/test/test_file_set.h |
| diff --git a/webkit/browser/fileapi/test_file_set.h b/content/test/test_file_set.h |
| similarity index 48% |
| rename from webkit/browser/fileapi/test_file_set.h |
| rename to content/test/test_file_set.h |
| index eb44521357a2908a3370ea30af6d941153e2e918..73183a485e441769b5742b679c1652a44f0f150f 100644 |
| --- a/webkit/browser/fileapi/test_file_set.h |
| +++ b/content/test/test_file_set.h |
| @@ -2,8 +2,8 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef WEBKIT_BROWSER_FILEAPI_TEST_FILE_SET_H_ |
| -#define WEBKIT_BROWSER_FILEAPI_TEST_FILE_SET_H_ |
| +#ifndef CONTENT_TEST_TEST_FILE_SET_H_ |
|
jam
2014/03/03 16:03:02
this file should be named something like fileapi_t
|
| +#define CONTENT_TEST_TEST_FILE_SET_H_ |
| #include <set> |
| @@ -12,31 +12,29 @@ |
| // Common test data structures and test cases. |
| namespace fileapi { |
| - |
| class FileSystemFileUtil; |
| +} |
| -namespace test { |
| +namespace content { |
| -struct TestCaseRecord { |
| +struct FileSystemTestCaseRecord { |
| bool is_directory; |
| const base::FilePath::CharType path[64]; |
| int64 data_file_size; |
| }; |
| -extern const TestCaseRecord kRegularTestCases[]; |
| -extern const size_t kRegularTestCaseSize; |
| +extern const FileSystemTestCaseRecord kRegularFileSystemTestCases[]; |
| +extern const size_t kRegularFileSystemTestCaseSize; |
| -size_t GetRegularTestCaseSize(); |
| +size_t GetRegularFileSystemTestCaseSize(); |
| // Creates one file or directory specified by |record|. |
| -void SetUpOneTestCase(const base::FilePath& root_path, |
| - const TestCaseRecord& record); |
| +void SetUpOneFileSystemTestCase(const base::FilePath& root_path, |
| + const FileSystemTestCaseRecord& record); |
| // Creates the files and directories specified in kRegularTestCases. |
| -void SetUpRegularTestCases(const base::FilePath& root_path); |
| - |
| -} // namespace test |
| +void SetUpRegularFileSystemTestCases(const base::FilePath& root_path); |
| -} // namespace fileapi |
| +} // namespace content |
| -#endif // WEBKIT_BROWSER_FILEAPI_TEST_FILE_SET_H_ |
| +#endif // CONTENT_TEST_TEST_FILE_SET_H_ |