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

Side by Side Diff: base/test/test_file_util.h

Issue 1544113002: Switch to standard integer types in base/test/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « base/test/test_discardable_memory_allocator.h ('k') | base/test/test_file_util_mac.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 (c) 2012 The Chromium Authors. All rights reserved. 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 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 BASE_TEST_TEST_FILE_UTIL_H_ 5 #ifndef BASE_TEST_TEST_FILE_UTIL_H_
6 #define BASE_TEST_TEST_FILE_UTIL_H_ 6 #define BASE_TEST_TEST_FILE_UTIL_H_
7 7
8 // File utility functions used only by tests. 8 // File utility functions used only by tests.
9 9
10 #include <stddef.h>
11
10 #include <string> 12 #include <string>
11 13
12 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
13 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/macros.h"
17 #include "build/build_config.h"
14 18
15 #if defined(OS_ANDROID) 19 #if defined(OS_ANDROID)
16 #include <jni.h> 20 #include <jni.h>
17 #include "base/basictypes.h"
18 #endif 21 #endif
19 22
20 namespace base { 23 namespace base {
21 24
22 class FilePath; 25 class FilePath;
23 26
24 // Clear a specific file from the system cache like EvictFileFromSystemCache, 27 // Clear a specific file from the system cache like EvictFileFromSystemCache,
25 // but on failure it will sleep and retry. On the Windows buildbots, eviction 28 // but on failure it will sleep and retry. On the Windows buildbots, eviction
26 // can fail if the file is marked in use, and this will throw off timings that 29 // can fail if the file is marked in use, and this will throw off timings that
27 // rely on uncached files. 30 // rely on uncached files.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 bool RegisterContentUriTestUtils(JNIEnv* env); 74 bool RegisterContentUriTestUtils(JNIEnv* env);
72 75
73 // Insert an image file into the MediaStore, and retrieve the content URI for 76 // Insert an image file into the MediaStore, and retrieve the content URI for
74 // testing purpose. 77 // testing purpose.
75 FilePath InsertImageIntoMediaStore(const FilePath& path); 78 FilePath InsertImageIntoMediaStore(const FilePath& path);
76 #endif // defined(OS_ANDROID) 79 #endif // defined(OS_ANDROID)
77 80
78 } // namespace base 81 } // namespace base
79 82
80 #endif // BASE_TEST_TEST_FILE_UTIL_H_ 83 #endif // BASE_TEST_TEST_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « base/test/test_discardable_memory_allocator.h ('k') | base/test/test_file_util_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698