| Index: chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc
|
| diff --git a/chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc b/chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc
|
| index 4eb0d1866aef84c893a803bb27ead9b91bd1e3f9..a71fac48b99b5343f4870fc97b03e97f39958a9a 100644
|
| --- a/chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc
|
| +++ b/chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc
|
| @@ -305,7 +305,9 @@ TEST_F(NativeMediaFileUtilTest, CopySourceFiltering) {
|
| expectation = base::PLATFORM_FILE_ERROR_INVALID_OPERATION;
|
| }
|
| operation_runner()->Copy(
|
| - url, dest_url, base::Bind(&ExpectEqHelper, test_name, expectation));
|
| + url, dest_url,
|
| + fileapi::FileSystemOperationRunner::CopyProgressCallback(),
|
| + base::Bind(&ExpectEqHelper, test_name, expectation));
|
| base::MessageLoop::current()->RunUntilIdle();
|
| }
|
| }
|
| @@ -367,7 +369,9 @@ TEST_F(NativeMediaFileUtilTest, CopyDestFiltering) {
|
| }
|
| }
|
| operation_runner()->Copy(
|
| - src_url, url, base::Bind(&ExpectEqHelper, test_name, expectation));
|
| + src_url, url,
|
| + fileapi::FileSystemOperationRunner::CopyProgressCallback(),
|
| + base::Bind(&ExpectEqHelper, test_name, expectation));
|
| base::MessageLoop::current()->RunUntilIdle();
|
| }
|
| }
|
|
|