| Index: content/test/fileapi_test_file_set.h
|
| diff --git a/webkit/browser/fileapi/test_file_set.h b/content/test/fileapi_test_file_set.h
|
| similarity index 47%
|
| rename from webkit/browser/fileapi/test_file_set.h
|
| rename to content/test/fileapi_test_file_set.h
|
| index eb44521357a2908a3370ea30af6d941153e2e918..9f10b193bce248ec39ae29a2995161887291f930 100644
|
| --- a/webkit/browser/fileapi/test_file_set.h
|
| +++ b/content/test/fileapi_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_FILEAPI_TEST_FILE_SET_H_
|
| +#define CONTENT_TEST_FILEAPI_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_FILEAPI_FILE_SET_H_
|
|
|