Index: content/public/test/async_file_test_helper.cc |
diff --git a/content/public/test/async_file_test_helper.cc b/content/public/test/async_file_test_helper.cc |
index 935e7ea1b29bb50a76c6f808fb5d9d34793f8404..ccb16be7fd126f78e6dc1d986f4340946929117d 100644 |
--- a/content/public/test/async_file_test_helper.cc |
+++ b/content/public/test/async_file_test_helper.cc |
@@ -216,8 +216,10 @@ base::File::Error AsyncFileTestHelper::GetMetadata( |
base::File::Error result = base::File::FILE_ERROR_FAILED; |
base::RunLoop run_loop; |
context->operation_runner()->GetMetadata( |
- url, base::Bind(&GetMetadataCallback, &run_loop, &result, |
- file_info)); |
+ url, storage::FileSystemOperation::GET_METADATA_FIELD_IS_DIRECTORY | |
+ storage::FileSystemOperation::GET_METADATA_FIELD_SIZE | |
+ storage::FileSystemOperation::GET_METADATA_FIELD_LAST_MODIFIED, |
+ base::Bind(&GetMetadataCallback, &run_loop, &result, file_info)); |
run_loop.Run(); |
return result; |
} |