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

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

Issue 10867020: Add DIR_ANDROID_EXTERNAL_STORAGE to base/base_path.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restrict to Android only. Created 8 years, 4 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 | « base/android/java/src/org/chromium/base/PathUtils.java ('k') | base/android/path_utils.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_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 #include <string> 9 #include <string>
10 10
(...skipping 10 matching lines...) Expand all
21 // cache dir. 21 // cache dir.
22 std::string GetCacheDirectory(); 22 std::string GetCacheDirectory();
23 23
24 // Returns the path to the public downloads directory. 24 // Returns the path to the public downloads directory.
25 std::string GetDownloadsDirectory(); 25 std::string GetDownloadsDirectory();
26 26
27 // Returns the path to the native JNI libraries via 27 // Returns the path to the native JNI libraries via
28 // ApplicationInfo.nativeLibraryDir on the Java side. 28 // ApplicationInfo.nativeLibraryDir on the Java side.
29 std::string GetNativeLibraryDirectory(); 29 std::string GetNativeLibraryDirectory();
30 30
31 // Returns the absolute path to the external storage directory.
32 std::string GetExternalStorageDirectory();
33
31 bool RegisterPathUtils(JNIEnv* env); 34 bool RegisterPathUtils(JNIEnv* env);
32 35
33 } // namespace android 36 } // namespace android
34 } // namespace base 37 } // namespace base
35 38
36 #endif // BASE_ANDROID_PATH_UTILS_H_ 39 #endif // BASE_ANDROID_PATH_UTILS_H_
OLDNEW
« no previous file with comments | « base/android/java/src/org/chromium/base/PathUtils.java ('k') | base/android/path_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698