diff options
author | nileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-24 10:08:27 +0000 |
---|---|---|
committer | nileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-24 10:08:27 +0000 |
commit | fa67f76c0a9260c97ba245aff8046525ce5cfe68 (patch) | |
tree | a7848581658e3fc7270c6b9d2c7bf35d266e69d2 /base/android/path_utils.h | |
parent | ef88ff7ec29aa48bd7529f4cc4e9c9ed87739539 (diff) | |
download | chromium_src-fa67f76c0a9260c97ba245aff8046525ce5cfe68.zip chromium_src-fa67f76c0a9260c97ba245aff8046525ce5cfe68.tar.gz chromium_src-fa67f76c0a9260c97ba245aff8046525ce5cfe68.tar.bz2 |
Add DIR_ANDROID_EXTERNAL_STORAGE to base/base_path.h
This adds a method to get the external storage directory on Android.
BUG=
Review URL: https://chromiumcodereview.appspot.com/10867020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/android/path_utils.h')
-rw-r--r-- | base/android/path_utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/android/path_utils.h b/base/android/path_utils.h index 4c9cc18..29c94d6 100644 --- a/base/android/path_utils.h +++ b/base/android/path_utils.h @@ -28,6 +28,9 @@ std::string GetDownloadsDirectory(); // ApplicationInfo.nativeLibraryDir on the Java side. std::string GetNativeLibraryDirectory(); +// Returns the absolute path to the external storage directory. +std::string GetExternalStorageDirectory(); + bool RegisterPathUtils(JNIEnv* env); } // namespace android |