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

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

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
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 #include "content/test/fileapi_test_file_set.h" 5 #include "content/test/fileapi_test_file_set.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <limits> 9 #include <limits>
10 #include <string> 10 #include <string>
11 11
12 #include "base/files/file.h" 12 #include "base/files/file.h"
13 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h"
15 #include "base/rand_util.h" 16 #include "base/rand_util.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 18
18 namespace content { 19 namespace content {
19 20
20 const FileSystemTestCaseRecord kRegularFileSystemTestCases[] = { 21 const FileSystemTestCaseRecord kRegularFileSystemTestCases[] = {
21 {true, FILE_PATH_LITERAL("dir a"), 0}, 22 {true, FILE_PATH_LITERAL("dir a"), 0},
22 {true, FILE_PATH_LITERAL("dir a/dir A"), 0}, 23 {true, FILE_PATH_LITERAL("dir a/dir A"), 0},
23 {true, FILE_PATH_LITERAL("dir a/dir d"), 0}, 24 {true, FILE_PATH_LITERAL("dir a/dir d"), 0},
24 {true, FILE_PATH_LITERAL("dir a/dir d/dir e"), 0}, 25 {true, FILE_PATH_LITERAL("dir a/dir d/dir e"), 0},
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 62
62 63
63 void SetUpRegularFileSystemTestCases(const base::FilePath& root_path) { 64 void SetUpRegularFileSystemTestCases(const base::FilePath& root_path) {
64 for (size_t i = 0; i < arraysize(kRegularFileSystemTestCases); ++i) { 65 for (size_t i = 0; i < arraysize(kRegularFileSystemTestCases); ++i) {
65 SCOPED_TRACE(testing::Message() << "Creating kRegularTestCases " << i); 66 SCOPED_TRACE(testing::Message() << "Creating kRegularTestCases " << i);
66 SetUpOneFileSystemTestCase(root_path, kRegularFileSystemTestCases[i]); 67 SetUpOneFileSystemTestCase(root_path, kRegularFileSystemTestCases[i]);
67 } 68 }
68 } 69 }
69 70
70 } // namespace content 71 } // namespace content
OLDNEW
« no previous file with comments | « content/test/fileapi_test_file_set.h ('k') | content/test/gpu_memory_buffer_impl_test_template.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698