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

Unified Diff: base/test/test_support_android.cc

Issue 1926793002: 👔 Move side-loaded test data /sdcard -> /sdcard/gtestdata (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cast compile Created 4 years, 8 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
Index: base/test/test_support_android.cc
diff --git a/base/test/test_support_android.cc b/base/test/test_support_android.cc
index 08a2820b800418cbcdbb2649fd58f7e274de7324..d746293040b8075df29873bd691266455c75f156 100644
--- a/base/test/test_support_android.cc
+++ b/base/test/test_support_android.cc
@@ -136,7 +136,7 @@ bool GetTestProviderPath(int key, base::FilePath* result) {
switch (key) {
case base::DIR_ANDROID_APP_DATA: {
// For tests, app data is put in external storage.
- return base::android::GetExternalStorageDirectory(result);
+ return PathService::Get(base::DIR_SOURCE_ROOT, result);
}
default:
return false;

Powered by Google App Engine
This is Rietveld 408576698