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

Unified Diff: storage/browser/fileapi/file_system_operation.h

Issue 1184343002: Recursive operation delegate continues operations with ignoring errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: storage/browser/fileapi/file_system_operation.h
diff --git a/storage/browser/fileapi/file_system_operation.h b/storage/browser/fileapi/file_system_operation.h
index 4b38da0bf3a1e484e9c328927e04b2db784e542b..bc5bc879a845d2df25d569d6f6c459a979b121d1 100644
--- a/storage/browser/fileapi/file_system_operation.h
+++ b/storage/browser/fileapi/file_system_operation.h
@@ -68,6 +68,12 @@ class FileSystemOperation {
// Used for CreateFile(), etc. |result| is the return code of the operation.
typedef base::Callback<void(base::File::Error result)> StatusCallback;
+ // Called when an error had happened during operation.
+ // |url| is the url of processed entry.
+ // |error| is the error code of the failed operation.
+ typedef base::Callback<void(const FileSystemURL& url,
+ base::File::Error error)> ErrorCallback;
+
// Used for GetMetadata(). |result| is the return code of the operation,
// |file_info| is the obtained file info.
typedef base::Callback<

Powered by Google App Engine
This is Rietveld 408576698