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< |