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_FILEAPI_CROSS_OPERATION_DELEGATE_H_ | 5 #ifndef WEBKIT_FILEAPI_CROSS_OPERATION_DELEGATE_H_ |
6 #define WEBKIT_FILEAPI_CROSS_OPERATION_DELEGATE_H_ | 6 #define WEBKIT_FILEAPI_CROSS_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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 void DidTryRemoveDestRoot(base::PlatformFileError error); | 48 void DidTryRemoveDestRoot(base::PlatformFileError error); |
49 void CopyOrMoveFile( | 49 void CopyOrMoveFile( |
50 const FileSystemURL& src, | 50 const FileSystemURL& src, |
51 const FileSystemURL& dest, | 51 const FileSystemURL& dest, |
52 const StatusCallback& callback); | 52 const StatusCallback& callback); |
53 void DidCreateSnapshot( | 53 void DidCreateSnapshot( |
54 const FileSystemURL& dest, | 54 const FileSystemURL& dest, |
55 const StatusCallback& callback, | 55 const StatusCallback& callback, |
56 base::PlatformFileError error, | 56 base::PlatformFileError error, |
57 const base::PlatformFileInfo& file_info, | 57 const base::PlatformFileInfo& file_info, |
58 const FilePath& platform_path, | 58 const base::FilePath& platform_path, |
59 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref); | 59 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref); |
60 void DidFinishCopy( | 60 void DidFinishCopy( |
61 const FileSystemURL& src, | 61 const FileSystemURL& src, |
62 const StatusCallback& callback, | 62 const StatusCallback& callback, |
63 base::PlatformFileError error); | 63 base::PlatformFileError error); |
64 void DidRemoveSourceForMove( | 64 void DidRemoveSourceForMove( |
65 const StatusCallback& callback, | 65 const StatusCallback& callback, |
66 base::PlatformFileError error); | 66 base::PlatformFileError error); |
67 | 67 |
68 FileSystemURL CreateDestURL(const FileSystemURL& src_url) const; | 68 FileSystemURL CreateDestURL(const FileSystemURL& src_url) const; |
(...skipping 26 matching lines...) Expand all Loading... |
95 LocalFileSystemOperation* src_root_operation_; | 95 LocalFileSystemOperation* src_root_operation_; |
96 | 96 |
97 scoped_refptr<webkit_blob::ShareableFileReference> current_file_ref_; | 97 scoped_refptr<webkit_blob::ShareableFileReference> current_file_ref_; |
98 | 98 |
99 DISALLOW_COPY_AND_ASSIGN(CrossOperationDelegate); | 99 DISALLOW_COPY_AND_ASSIGN(CrossOperationDelegate); |
100 }; | 100 }; |
101 | 101 |
102 } // namespace fileapi | 102 } // namespace fileapi |
103 | 103 |
104 #endif // WEBKIT_FILEAPI_CROSS_OPERATION_DELEGATE_H_ | 104 #endif // WEBKIT_FILEAPI_CROSS_OPERATION_DELEGATE_H_ |
OLD | NEW |