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

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

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/fake_renderer_scheduler.h ('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
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>
9 #include <stdint.h>
10
8 #include <set> 11 #include <set>
9 12
10 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
11 14
12 // Common test data structures and test cases. 15 // Common test data structures and test cases.
13 16
14 namespace storage { 17 namespace storage {
15 class FileSystemFileUtil; 18 class FileSystemFileUtil;
16 } 19 }
17 20
18 namespace content { 21 namespace content {
19 22
20 struct FileSystemTestCaseRecord { 23 struct FileSystemTestCaseRecord {
21 bool is_directory; 24 bool is_directory;
22 const base::FilePath::CharType path[64]; 25 const base::FilePath::CharType path[64];
23 int64 data_file_size; 26 int64_t data_file_size;
24 }; 27 };
25 28
26 extern const FileSystemTestCaseRecord kRegularFileSystemTestCases[]; 29 extern const FileSystemTestCaseRecord kRegularFileSystemTestCases[];
27 extern const size_t kRegularFileSystemTestCaseSize; 30 extern const size_t kRegularFileSystemTestCaseSize;
28 31
29 size_t GetRegularFileSystemTestCaseSize(); 32 size_t GetRegularFileSystemTestCaseSize();
30 33
31 // Creates one file or directory specified by |record|. 34 // Creates one file or directory specified by |record|.
32 void SetUpOneFileSystemTestCase(const base::FilePath& root_path, 35 void SetUpOneFileSystemTestCase(const base::FilePath& root_path,
33 const FileSystemTestCaseRecord& record); 36 const FileSystemTestCaseRecord& record);
34 37
35 // Creates the files and directories specified in kRegularTestCases. 38 // Creates the files and directories specified in kRegularTestCases.
36 void SetUpRegularFileSystemTestCases(const base::FilePath& root_path); 39 void SetUpRegularFileSystemTestCases(const base::FilePath& root_path);
37 40
38 } // namespace content 41 } // namespace content
39 42
40 #endif // CONTENT_TEST_FILEAPI_TEST_FILE_SET_H_ 43 #endif // CONTENT_TEST_FILEAPI_TEST_FILE_SET_H_
OLDNEW
« no previous file with comments | « content/test/fake_renderer_scheduler.h ('k') | content/test/fileapi_test_file_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698