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

Unified Diff: webkit/browser/fileapi/copy_or_move_operation_delegate.h

Issue 18565002: [FileSystem] Add another copy-or-move validation hook for post-write. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add test Created 7 years, 5 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: webkit/browser/fileapi/copy_or_move_operation_delegate.h
diff --git a/webkit/browser/fileapi/copy_or_move_operation_delegate.h b/webkit/browser/fileapi/copy_or_move_operation_delegate.h
index 4fc3818f2eb1c3c10d454beb84e1df1b863ec890..c275ef7c8b17ce23b5719e130fd223b94842a9cd 100644
--- a/webkit/browser/fileapi/copy_or_move_operation_delegate.h
+++ b/webkit/browser/fileapi/copy_or_move_operation_delegate.h
@@ -76,12 +76,27 @@ class CopyOrMoveOperationDelegate
const base::FilePath& platform_path,
base::PlatformFileError error);
void DidFinishCopy(
- const FileSystemURL& src,
+ const URLPair& url_pair,
vandebo (ex-Chrome) 2013/07/10 15:52:46 Does this chain work correctly when source is mult
Greg Billock 2013/07/11 22:54:35 I think so. multiple objects should be handled ups
+ const StatusCallback& callback,
+ base::PlatformFileError error);
+ void DoPostWriteValidation(
+ const URLPair& url_pair,
+ const StatusCallback& callback,
+ base::PlatformFileError error,
+ const base::PlatformFileInfo& file_info,
+ const base::FilePath& platform_path,
+ const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref);
+ void DidPostWriteValidation(
+ const URLPair& url_pair,
const StatusCallback& callback,
base::PlatformFileError error);
void DidRemoveSourceForMove(
const StatusCallback& callback,
base::PlatformFileError error);
+ void DidRemoveDestForError(
+ base::PlatformFileError prior_error,
+ const StatusCallback& callback,
+ base::PlatformFileError error);
FileSystemURL CreateDestURL(const FileSystemURL& src_url) const;

Powered by Google App Engine
This is Rietveld 408576698