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/fileapi/file_system_operation.h" | 8 #include "webkit/fileapi/file_system_operation.h" |
9 #include "webkit/fileapi/file_writer_delegate.h" | 9 #include "webkit/fileapi/file_writer_delegate.h" |
10 #include "webkit/fileapi/remote_file_system_proxy.h" | 10 #include "webkit/fileapi/remote_file_system_proxy.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 virtual void FileExists(const fileapi::FileSystemURL& url, | 45 virtual void FileExists(const fileapi::FileSystemURL& url, |
46 const StatusCallback& callback) OVERRIDE; | 46 const StatusCallback& callback) OVERRIDE; |
47 virtual void GetMetadata(const fileapi::FileSystemURL& url, | 47 virtual void GetMetadata(const fileapi::FileSystemURL& url, |
48 const GetMetadataCallback& callback) OVERRIDE; | 48 const GetMetadataCallback& callback) OVERRIDE; |
49 virtual void ReadDirectory(const fileapi::FileSystemURL& url, | 49 virtual void ReadDirectory(const fileapi::FileSystemURL& url, |
50 const ReadDirectoryCallback& callback) OVERRIDE; | 50 const ReadDirectoryCallback& callback) OVERRIDE; |
51 virtual void Remove(const fileapi::FileSystemURL& url, bool recursive, | 51 virtual void Remove(const fileapi::FileSystemURL& url, bool recursive, |
52 const StatusCallback& callback) OVERRIDE; | 52 const StatusCallback& callback) OVERRIDE; |
53 virtual void Write(const net::URLRequestContext* url_request_context, | 53 virtual void Write(const net::URLRequestContext* url_request_context, |
54 const fileapi::FileSystemURL& url, | 54 const fileapi::FileSystemURL& url, |
55 const GURL& blob_url, | 55 scoped_ptr<webkit_blob::BlobDataHandle> blob_handle, |
56 int64 offset, | 56 int64 offset, |
57 const WriteCallback& callback) OVERRIDE; | 57 const WriteCallback& callback) OVERRIDE; |
58 virtual void Truncate(const fileapi::FileSystemURL& url, int64 length, | 58 virtual void Truncate(const fileapi::FileSystemURL& url, int64 length, |
59 const StatusCallback& callback) OVERRIDE; | 59 const StatusCallback& callback) OVERRIDE; |
60 virtual void Cancel(const StatusCallback& cancel_callback) OVERRIDE; | 60 virtual void Cancel(const StatusCallback& cancel_callback) OVERRIDE; |
61 virtual void TouchFile(const fileapi::FileSystemURL& url, | 61 virtual void TouchFile(const fileapi::FileSystemURL& url, |
62 const base::Time& last_access_time, | 62 const base::Time& last_access_time, |
63 const base::Time& last_modified_time, | 63 const base::Time& last_modified_time, |
64 const StatusCallback& callback) OVERRIDE; | 64 const StatusCallback& callback) OVERRIDE; |
65 virtual void OpenFile( | 65 virtual void OpenFile( |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 127 |
128 WriteCallback write_callback_; | 128 WriteCallback write_callback_; |
129 StatusCallback cancel_callback_; | 129 StatusCallback cancel_callback_; |
130 | 130 |
131 DISALLOW_COPY_AND_ASSIGN(RemoteFileSystemOperation); | 131 DISALLOW_COPY_AND_ASSIGN(RemoteFileSystemOperation); |
132 }; | 132 }; |
133 | 133 |
134 } // namespace chromeos | 134 } // namespace chromeos |
135 | 135 |
136 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ | 136 #endif // WEBKIT_CHROMEOS_FILEAPI_REMOTE_FILE_SYSTEM_OPERATION_H_ |
OLD | NEW |