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

Side by Side Diff: webkit/fileapi/test_file_set.h

Issue 15859007: Move browser-specific FileAPI code from webkit/fileapi to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dump_file_system build fix Created 7 years, 6 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
« no previous file with comments | « webkit/fileapi/syncable/syncable_file_system_util.cc ('k') | webkit/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 (c) 2012 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 WEBKIT_FILEAPI_TEST_FILE_SET_H_
6 #define WEBKIT_FILEAPI_TEST_FILE_SET_H_
7
8 #include <set>
9
10 #include "base/files/file_path.h"
11
12 // Common test data structures and test cases.
13
14 namespace fileapi {
15
16 class FileSystemFileUtil;
17
18 namespace test {
19
20 struct TestCaseRecord {
21 bool is_directory;
22 const base::FilePath::CharType path[64];
23 int64 data_file_size;
24 };
25
26 extern const TestCaseRecord kRegularTestCases[];
27 extern const size_t kRegularTestCaseSize;
28
29 size_t GetRegularTestCaseSize();
30
31 // Creates one file or directory specified by |record|.
32 void SetUpOneTestCase(const base::FilePath& root_path, const TestCaseRecord& rec ord);
33
34 // Creates the files and directories specified in kRegularTestCases.
35 void SetUpRegularTestCases(const base::FilePath& root_path);
36
37 } // namespace test
38
39 } // namespace fileapi
40
41 #endif // WEBKIT_FILEAPI_TEST_FILE_SET_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/syncable/syncable_file_system_util.cc ('k') | webkit/fileapi/test_file_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698