| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ | 5 #ifndef WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ |
| 6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ | 6 #define WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ |
| 7 | 7 |
| 8 #include "webkit/chromeos/fileapi/remote_file_system_proxy.h" | 8 #include "webkit/chromeos/fileapi/remote_file_system_proxy.h" |
| 9 #include "webkit/fileapi/file_system_operation_interface.h" | 9 #include "webkit/fileapi/file_system_operation.h" |
| 10 | 10 |
| 11 namespace base { | 11 namespace base { |
| 12 class Value; | 12 class Value; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace fileapi { | 15 namespace fileapi { |
| 16 class FileWriterDelegate; | 16 class FileWriterDelegate; |
| 17 class LocalFileSystemOperation; | 17 class LocalFileSystemOperation; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace chromeos { | 20 namespace chromeos { |
| 21 | 21 |
| 22 // FileSystemOperation implementation for local file systems. | 22 // FileSystemOperation implementation for local file systems. |
| 23 class RemoteFileSystemOperation : public fileapi::FileSystemOperationInterface { | 23 class RemoteFileSystemOperation : public fileapi::FileSystemOperation { |
| 24 public: | 24 public: |
| 25 virtual ~RemoteFileSystemOperation(); | 25 virtual ~RemoteFileSystemOperation(); |
| 26 | 26 |
| 27 // FileSystemOperationInterface overrides. | 27 // FileSystemOperation overrides. |
| 28 virtual void CreateFile(const fileapi::FileSystemURL& url, | 28 virtual void CreateFile(const fileapi::FileSystemURL& url, |
| 29 bool exclusive, | 29 bool exclusive, |
| 30 const StatusCallback& callback) OVERRIDE; | 30 const StatusCallback& callback) OVERRIDE; |
| 31 virtual void CreateDirectory(const fileapi::FileSystemURL& url, | 31 virtual void CreateDirectory(const fileapi::FileSystemURL& url, |
| 32 bool exclusive, | 32 bool exclusive, |
| 33 bool recursive, | 33 bool recursive, |
| 34 const StatusCallback& callback) OVERRIDE; | 34 const StatusCallback& callback) OVERRIDE; |
| 35 virtual void Copy(const fileapi::FileSystemURL& src_url, | 35 virtual void Copy(const fileapi::FileSystemURL& src_url, |
| 36 const fileapi::FileSystemURL& dest_url, | 36 const fileapi::FileSystemURL& dest_url, |
| 37 const StatusCallback& callback) OVERRIDE; | 37 const StatusCallback& callback) OVERRIDE; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 125 |
| 126 WriteCallback write_callback_; | 126 WriteCallback write_callback_; |
| 127 StatusCallback cancel_callback_; | 127 StatusCallback cancel_callback_; |
| 128 | 128 |
| 129 DISALLOW_COPY_AND_ASSIGN(RemoteFileSystemOperation); | 129 DISALLOW_COPY_AND_ASSIGN(RemoteFileSystemOperation); |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // namespace chromeos | 132 } // namespace chromeos |
| 133 | 133 |
| 134 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ | 134 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ |
| OLD | NEW |