// Provides the test path for DIR_MODULE and DIR_ANDROID_APP_DATA.
bool GetTestProviderPath(int key, base::FilePath* result) {
switch (key) {
- case base::DIR_MODULE: {
- return base::android::GetExternalStorageDirectory(result);
- }
case base::DIR_ANDROID_APP_DATA: {
// For tests, app data is put in external storage.
return base::android::GetExternalStorageDirectory(result);