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

Unified Diff: base/android/path_utils.h

Issue 11031008: Upstreaming chrome/common/chrome_* diff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/android/path_utils.cc » ('j') | base/android/path_utils_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/path_utils.h
diff --git a/base/android/path_utils.h b/base/android/path_utils.h
index 29c94d6bad1859726895619f529e641e3181315d..8bdc37368369ab1074c1eb27675c6ca23714bbbe 100644
--- a/base/android/path_utils.h
+++ b/base/android/path_utils.h
@@ -8,28 +8,30 @@
#include <jni.h>
#include <string>
nilesh 2012/10/01 20:38:35 Remove the include.
aurimas (slooooooooow) 2012/10/01 21:06:41 Done.
+class FilePath;
+
namespace base {
namespace android {
// Return the absolute path to the data directory of the current application.
nilesh 2012/10/01 20:38:35 Please update the comment. Something like: "Retrie
aurimas (slooooooooow) 2012/10/01 21:06:41 Done.
// This method is dedicated for base_paths_android.c, Using
// PathService::Get(base::DIR_ANDROID_APP_DATA, ...) gets the data dir.
-std::string GetDataDirectory();
+bool GetDataDirectory(FilePath* result);
// Return the absolute path to the cache directory. This method is dedicated for
// base_paths_android.c, Using PathService::Get(base::DIR_CACHE, ...) gets the
// cache dir.
-std::string GetCacheDirectory();
+bool GetCacheDirectory(FilePath* result);
// Returns the path to the public downloads directory.
-std::string GetDownloadsDirectory();
+bool GetDownloadsDirectory(FilePath* result);
// Returns the path to the native JNI libraries via
// ApplicationInfo.nativeLibraryDir on the Java side.
-std::string GetNativeLibraryDirectory();
+bool GetNativeLibraryDirectory(FilePath* result);
// Returns the absolute path to the external storage directory.
-std::string GetExternalStorageDirectory();
+bool GetExternalStorageDirectory(FilePath* result);
bool RegisterPathUtils(JNIEnv* env);
« no previous file with comments | « no previous file | base/android/path_utils.cc » ('j') | base/android/path_utils_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698