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

Unified Diff: base/base_paths_android.cc

Issue 10896050: Android: Use external storage for test data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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/test/test_support_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base_paths_android.cc
diff --git a/base/base_paths_android.cc b/base/base_paths_android.cc
index 449b731713cbd157ad39c58da14330de5fa143a7..92d269ac04ef9cc91ccc32f2ebdcb2c202555744 100644
--- a/base/base_paths_android.cc
+++ b/base/base_paths_android.cc
@@ -43,9 +43,8 @@ bool PathProviderAndroid(int key, FilePath* result) {
return true;
}
case base::DIR_SOURCE_ROOT: {
- // This const is only used for tests. Files in this directory are pushed
- // to the device via test script.
- *result = FilePath(FILE_PATH_LITERAL("/data/local/tmp/"));
+ // This const is only used for tests.
+ *result = FilePath(base::android::GetExternalStorageDirectory());
return true;
}
case base::DIR_CACHE: {
« no previous file with comments | « no previous file | base/test/test_support_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698