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

Unified Diff: chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc

Issue 1194783002: Add fileManagerPrivate.onCopyError event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove const and rename enum. Created 5 years, 6 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: 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 0701075e6b079317327d2ae5cc1e324eccde5d99..9bce4b25b824702abae5d4c3c6c7355469c9c26c 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
@@ -299,9 +299,8 @@ TEST_F(NativeMediaFileUtilTest, CopySourceFiltering) {
expectation = base::File::FILE_ERROR_INVALID_OPERATION;
}
operation_runner()->Copy(
- url,
- dest_url,
- storage::FileSystemOperation::OPTION_NONE,
+ url, dest_url, storage::FileSystemOperation::OPTION_NONE,
+ storage::FileSystemOperation::ERROR_BEHAVIOR_ABORT,
storage::FileSystemOperationRunner::CopyProgressCallback(),
base::Bind(&ExpectEqHelper, test_name, expectation));
base::MessageLoop::current()->RunUntilIdle();
@@ -365,9 +364,8 @@ TEST_F(NativeMediaFileUtilTest, CopyDestFiltering) {
}
}
operation_runner()->Copy(
- src_url,
- url,
- storage::FileSystemOperation::OPTION_NONE,
+ src_url, url, storage::FileSystemOperation::OPTION_NONE,
+ storage::FileSystemOperation::ERROR_BEHAVIOR_ABORT,
storage::FileSystemOperationRunner::CopyProgressCallback(),
base::Bind(&ExpectEqHelper, test_name, expectation));
base::MessageLoop::current()->RunUntilIdle();

Powered by Google App Engine
This is Rietveld 408576698