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

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

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 months 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 | Annotate | Revision Log
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 <set> 8 #include <set>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 11
12 // Common test data structures and test cases. 12 // Common test data structures and test cases.
13 13
14 namespace fileapi { 14 namespace storage {
15 class FileSystemFileUtil; 15 class FileSystemFileUtil;
16 } 16 }
17 17
18 namespace content { 18 namespace content {
19 19
20 struct FileSystemTestCaseRecord { 20 struct FileSystemTestCaseRecord {
21 bool is_directory; 21 bool is_directory;
22 const base::FilePath::CharType path[64]; 22 const base::FilePath::CharType path[64];
23 int64 data_file_size; 23 int64 data_file_size;
24 }; 24 };
25 25
26 extern const FileSystemTestCaseRecord kRegularFileSystemTestCases[]; 26 extern const FileSystemTestCaseRecord kRegularFileSystemTestCases[];
27 extern const size_t kRegularFileSystemTestCaseSize; 27 extern const size_t kRegularFileSystemTestCaseSize;
28 28
29 size_t GetRegularFileSystemTestCaseSize(); 29 size_t GetRegularFileSystemTestCaseSize();
30 30
31 // Creates one file or directory specified by |record|. 31 // Creates one file or directory specified by |record|.
32 void SetUpOneFileSystemTestCase(const base::FilePath& root_path, 32 void SetUpOneFileSystemTestCase(const base::FilePath& root_path,
33 const FileSystemTestCaseRecord& record); 33 const FileSystemTestCaseRecord& record);
34 34
35 // Creates the files and directories specified in kRegularTestCases. 35 // Creates the files and directories specified in kRegularTestCases.
36 void SetUpRegularFileSystemTestCases(const base::FilePath& root_path); 36 void SetUpRegularFileSystemTestCases(const base::FilePath& root_path);
37 37
38 } // namespace content 38 } // namespace content
39 39
40 #endif // CONTENT_TEST_TEST_FILEAPI_FILE_SET_H_ 40 #endif // CONTENT_TEST_TEST_FILEAPI_FILE_SET_H_
OLDNEW
« no previous file with comments | « content/shell/browser/shell_quota_permission_context.cc ('k') | content/test/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698