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

Side by Side Diff: base/android/path_utils.h

Issue 11416289: Let base_unittests build with the components build on android (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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_ANDROID_PATH_UTILS_H_ 5 #ifndef BASE_ANDROID_PATH_UTILS_H_
6 #define BASE_ANDROID_PATH_UTILS_H_ 6 #define BASE_ANDROID_PATH_UTILS_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/base_export.h" 10 #include "base/base_export.h"
(...skipping 15 matching lines...) Expand all
26 // cache dir. 26 // cache dir.
27 BASE_EXPORT bool GetCacheDirectory(FilePath* result); 27 BASE_EXPORT bool GetCacheDirectory(FilePath* result);
28 28
29 // Retrieves the path to the public downloads directory. The result is placed 29 // Retrieves the path to the public downloads directory. The result is placed
30 // in the FilePath pointed to by 'result'. 30 // in the FilePath pointed to by 'result'.
31 bool GetDownloadsDirectory(FilePath* result); 31 bool GetDownloadsDirectory(FilePath* result);
32 32
33 // Retrieves the path to the native JNI libraries via 33 // Retrieves the path to the native JNI libraries via
34 // ApplicationInfo.nativeLibraryDir on the Java side. The result is placed in 34 // ApplicationInfo.nativeLibraryDir on the Java side. The result is placed in
35 // the FilePath pointed to by 'result'. 35 // the FilePath pointed to by 'result'.
36 bool GetNativeLibraryDirectory(FilePath* result); 36 BASE_EXPORT bool GetNativeLibraryDirectory(FilePath* result);
37 37
38 // Retrieves the absolute path to the external storage directory. The result 38 // Retrieves the absolute path to the external storage directory. The result
39 // is placed in the FilePath pointed to by 'result'. 39 // is placed in the FilePath pointed to by 'result'.
40 BASE_EXPORT bool GetExternalStorageDirectory(FilePath* result); 40 BASE_EXPORT bool GetExternalStorageDirectory(FilePath* result);
41 41
42 bool RegisterPathUtils(JNIEnv* env); 42 bool RegisterPathUtils(JNIEnv* env);
43 43
44 } // namespace android 44 } // namespace android
45 } // namespace base 45 } // namespace base
46 46
47 #endif // BASE_ANDROID_PATH_UTILS_H_ 47 #endif // BASE_ANDROID_PATH_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698