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

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

Issue 2368913003: Populate storage_unittests target. (Closed)
Patch Set: Removed unnecessary include from storage/browser/blob/blob_storage_context_unittest.cc. Created 4 years, 2 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
« no previous file with comments | « content/test/BUILD.gn ('k') | content/test/fileapi_test_file_set.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_TEST_FILEAPI_TEST_FILE_SET_H_
6 #define CONTENT_TEST_FILEAPI_TEST_FILE_SET_H_
7
8 #include <stddef.h>
9 #include <stdint.h>
10
11 #include <set>
12
13 #include "base/files/file_path.h"
14
15 // Common test data structures and test cases.
16
17 namespace storage {
18 class FileSystemFileUtil;
19 }
20
21 namespace content {
22
23 struct FileSystemTestCaseRecord {
24 bool is_directory;
25 const base::FilePath::CharType path[64];
26 int64_t data_file_size;
27 };
28
29 extern const FileSystemTestCaseRecord kRegularFileSystemTestCases[];
30 extern const size_t kRegularFileSystemTestCaseSize;
31
32 size_t GetRegularFileSystemTestCaseSize();
33
34 // Creates one file or directory specified by |record|.
35 void SetUpOneFileSystemTestCase(const base::FilePath& root_path,
36 const FileSystemTestCaseRecord& record);
37
38 // Creates the files and directories specified in kRegularTestCases.
39 void SetUpRegularFileSystemTestCases(const base::FilePath& root_path);
40
41 } // namespace content
42
43 #endif // CONTENT_TEST_FILEAPI_TEST_FILE_SET_H_
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | content/test/fileapi_test_file_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698