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

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: Created 7 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: 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..27bf25406cee42d8383c31a0c3419e652d4580db 100644
--- a/webkit/browser/fileapi/copy_or_move_operation_delegate.h
+++ b/webkit/browser/fileapi/copy_or_move_operation_delegate.h
@@ -77,6 +77,23 @@ class CopyOrMoveOperationDelegate
base::PlatformFileError error);
void DidFinishCopy(
const FileSystemURL& src,
+ const FileSystemURL& dest,
+ const StatusCallback& callback,
+ base::PlatformFileError error);
+ void PostWriteValidate(
+ const FileSystemURL& dest,
+ const StatusCallback& callback);
+ void DoPostWriteValidation(
+ 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 DidPostCopyValidation(
+ const StatusCallback& callback,
+ base::PlatformFileError error);
+ void DidPostMoveValidation(
+ const FileSystemURL& src,
const StatusCallback& callback,
base::PlatformFileError error);
void DidRemoveSourceForMove(

Powered by Google App Engine
This is Rietveld 408576698