| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ |
| 6 #define WEBKIT_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stack> | 8 #include <stack> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 base::PlatformFileError error, | 68 base::PlatformFileError error, |
| 69 const base::PlatformFileInfo& file_info, | 69 const base::PlatformFileInfo& file_info, |
| 70 const base::FilePath& platform_path, | 70 const base::FilePath& platform_path, |
| 71 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref); | 71 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref); |
| 72 void DidValidateFile( | 72 void DidValidateFile( |
| 73 const FileSystemURL& dest, | 73 const FileSystemURL& dest, |
| 74 const StatusCallback& callback, | 74 const StatusCallback& callback, |
| 75 const base::PlatformFileInfo& file_info, | 75 const base::PlatformFileInfo& file_info, |
| 76 const base::FilePath& platform_path, | 76 const base::FilePath& platform_path, |
| 77 base::PlatformFileError error); | 77 base::PlatformFileError error); |
| 78 void DidFinishCopyDir( | 78 void DidFinishRecursiveCopyDir( |
| 79 const FileSystemURL& src, | 79 const FileSystemURL& src, |
| 80 const StatusCallback& callback, | 80 const StatusCallback& callback, |
| 81 base::PlatformFileError error); | 81 base::PlatformFileError error); |
| 82 void DidFinishCopy( | 82 void DidFinishCopy( |
| 83 const URLPair& url_pair, | 83 const URLPair& url_pair, |
| 84 const StatusCallback& callback, | 84 const StatusCallback& callback, |
| 85 base::PlatformFileError error); | 85 base::PlatformFileError error); |
| 86 void DoPostWriteValidation( | 86 void DoPostWriteValidation( |
| 87 const URLPair& url_pair, | 87 const URLPair& url_pair, |
| 88 const StatusCallback& callback, | 88 const StatusCallback& callback, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 114 scoped_refptr<webkit_blob::ShareableFileReference> current_file_ref_; | 114 scoped_refptr<webkit_blob::ShareableFileReference> current_file_ref_; |
| 115 | 115 |
| 116 scoped_ptr<CopyOrMoveFileValidator> validator_; | 116 scoped_ptr<CopyOrMoveFileValidator> validator_; |
| 117 | 117 |
| 118 DISALLOW_COPY_AND_ASSIGN(CopyOrMoveOperationDelegate); | 118 DISALLOW_COPY_AND_ASSIGN(CopyOrMoveOperationDelegate); |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 } // namespace fileapi | 121 } // namespace fileapi |
| 122 | 122 |
| 123 #endif // WEBKIT_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ | 123 #endif // WEBKIT_BROWSER_FILEAPI_COPY_OR_MOVE_OPERATION_DELEGATE_H_ |
| OLD | NEW |