Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(523)

Side by Side Diff: content/test/fileapi_test_file_set.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_TEST_FILEAPI_TEST_FILE_SET_H_ 5 #ifndef CONTENT_TEST_FILEAPI_TEST_FILE_SET_H_
6 #define CONTENT_TEST_FILEAPI_TEST_FILE_SET_H_ 6 #define CONTENT_TEST_FILEAPI_TEST_FILE_SET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <set> 11 #include <set>
12 12
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 14
15 // Common test data structures and test cases. 15 // Common test data structures and test cases.
16 16
17 namespace storage {
18 class FileSystemFileUtil;
19 }
20
21 namespace content { 17 namespace content {
22 18
23 struct FileSystemTestCaseRecord { 19 struct FileSystemTestCaseRecord {
24 bool is_directory; 20 bool is_directory;
25 const base::FilePath::CharType path[64]; 21 const base::FilePath::CharType path[64];
26 int64_t data_file_size; 22 int64_t data_file_size;
27 }; 23 };
28 24
29 extern const FileSystemTestCaseRecord kRegularFileSystemTestCases[]; 25 extern const FileSystemTestCaseRecord kRegularFileSystemTestCases[];
30 extern const size_t kRegularFileSystemTestCaseSize; 26 extern const size_t kRegularFileSystemTestCaseSize;
31 27
32 size_t GetRegularFileSystemTestCaseSize(); 28 size_t GetRegularFileSystemTestCaseSize();
33 29
34 // Creates one file or directory specified by |record|. 30 // Creates one file or directory specified by |record|.
35 void SetUpOneFileSystemTestCase(const base::FilePath& root_path, 31 void SetUpOneFileSystemTestCase(const base::FilePath& root_path,
36 const FileSystemTestCaseRecord& record); 32 const FileSystemTestCaseRecord& record);
37 33
38 // Creates the files and directories specified in kRegularTestCases. 34 // Creates the files and directories specified in kRegularTestCases.
39 void SetUpRegularFileSystemTestCases(const base::FilePath& root_path); 35 void SetUpRegularFileSystemTestCases(const base::FilePath& root_path);
40 36
41 } // namespace content 37 } // namespace content
42 38
43 #endif // CONTENT_TEST_FILEAPI_TEST_FILE_SET_H_ 39 #endif // CONTENT_TEST_FILEAPI_TEST_FILE_SET_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/layout_test/layout_test_render_thread_observer.h ('k') | content/test/test_background_sync_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698