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

Unified Diff: webkit/fileapi/cross_operation_delegate.h

Issue 14225022: fileapi: Pass virtual path to copy validator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 8 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
« no previous file with comments | « webkit/fileapi/copy_or_move_file_validator_unittest.cc ('k') | webkit/fileapi/cross_operation_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/cross_operation_delegate.h
diff --git a/webkit/fileapi/cross_operation_delegate.h b/webkit/fileapi/cross_operation_delegate.h
index 77c15f58a66febada75c443db8a00812d9d04696..37f088cbc22ef4349ad9a3a47df227848df670e0 100644
--- a/webkit/fileapi/cross_operation_delegate.h
+++ b/webkit/fileapi/cross_operation_delegate.h
@@ -50,14 +50,22 @@ class CrossOperationDelegate
using base::SupportsWeakPtr<CrossOperationDelegate>::AsWeakPtr;
private:
+ struct URLPair {
+ URLPair(const FileSystemURL& src, const FileSystemURL& dest)
+ : src(src),
+ dest(dest) {
+ }
+ FileSystemURL src;
+ FileSystemURL dest;
+ };
+
void DidTryCopyOrMoveFile(base::PlatformFileError error);
void DidTryRemoveDestRoot(base::PlatformFileError error);
void CopyOrMoveFile(
- const FileSystemURL& src,
- const FileSystemURL& dest,
+ const URLPair& url_pair,
const StatusCallback& callback);
void DidCreateSnapshot(
- const FileSystemURL& dest,
+ const URLPair& url_pair,
const StatusCallback& callback,
base::PlatformFileError error,
const base::PlatformFileInfo& file_info,
« no previous file with comments | « webkit/fileapi/copy_or_move_file_validator_unittest.cc ('k') | webkit/fileapi/cross_operation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698