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_ASYNC_FILE_UTIL_ADAPTER_H_ | 5 #ifndef WEBKIT_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_ |
6 #define WEBKIT_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_ | 6 #define WEBKIT_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "webkit/fileapi/async_file_util.h" | 9 #include "webkit/fileapi/async_file_util.h" |
10 | 10 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 const FileSystemURL& src_url, | 75 const FileSystemURL& src_url, |
76 const FileSystemURL& dest_url, | 76 const FileSystemURL& dest_url, |
77 const StatusCallback& callback) OVERRIDE; | 77 const StatusCallback& callback) OVERRIDE; |
78 virtual bool MoveFileLocal( | 78 virtual bool MoveFileLocal( |
79 FileSystemOperationContext* context, | 79 FileSystemOperationContext* context, |
80 const FileSystemURL& src_url, | 80 const FileSystemURL& src_url, |
81 const FileSystemURL& dest_url, | 81 const FileSystemURL& dest_url, |
82 const StatusCallback& callback) OVERRIDE; | 82 const StatusCallback& callback) OVERRIDE; |
83 virtual bool CopyInForeignFile( | 83 virtual bool CopyInForeignFile( |
84 FileSystemOperationContext* context, | 84 FileSystemOperationContext* context, |
85 const FilePath& src_file_path, | 85 const base::FilePath& src_file_path, |
86 const FileSystemURL& dest_url, | 86 const FileSystemURL& dest_url, |
87 const StatusCallback& callback) OVERRIDE; | 87 const StatusCallback& callback) OVERRIDE; |
88 virtual bool DeleteFile( | 88 virtual bool DeleteFile( |
89 FileSystemOperationContext* context, | 89 FileSystemOperationContext* context, |
90 const FileSystemURL& url, | 90 const FileSystemURL& url, |
91 const StatusCallback& callback) OVERRIDE; | 91 const StatusCallback& callback) OVERRIDE; |
92 virtual bool DeleteDirectory( | 92 virtual bool DeleteDirectory( |
93 FileSystemOperationContext* context, | 93 FileSystemOperationContext* context, |
94 const FileSystemURL& url, | 94 const FileSystemURL& url, |
95 const StatusCallback& callback) OVERRIDE; | 95 const StatusCallback& callback) OVERRIDE; |
96 virtual bool CreateSnapshotFile( | 96 virtual bool CreateSnapshotFile( |
97 FileSystemOperationContext* context, | 97 FileSystemOperationContext* context, |
98 const FileSystemURL& url, | 98 const FileSystemURL& url, |
99 const CreateSnapshotFileCallback& callback) OVERRIDE; | 99 const CreateSnapshotFileCallback& callback) OVERRIDE; |
100 | 100 |
101 private: | 101 private: |
102 scoped_ptr<FileSystemFileUtil> sync_file_util_; | 102 scoped_ptr<FileSystemFileUtil> sync_file_util_; |
103 | 103 |
104 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtilAdapter); | 104 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtilAdapter); |
105 }; | 105 }; |
106 | 106 |
107 } // namespace fileapi | 107 } // namespace fileapi |
108 | 108 |
109 #endif // WEBKIT_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_ | 109 #endif // WEBKIT_FILEAPI_ASYNC_FILE_UTIL_ADAPTER_H_ |
OLD | NEW |