| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_SYNCABLE_SYNCABLE_FILE_SYSTEM_OPERATION_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_OPERATION_H_ |
| 6 #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_OPERATION_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_OPERATION_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual void DirectoryExists(const fileapi::FileSystemURL& url, | 50 virtual void DirectoryExists(const fileapi::FileSystemURL& url, |
| 51 const StatusCallback& callback) OVERRIDE; | 51 const StatusCallback& callback) OVERRIDE; |
| 52 virtual void FileExists(const fileapi::FileSystemURL& url, | 52 virtual void FileExists(const fileapi::FileSystemURL& url, |
| 53 const StatusCallback& callback) OVERRIDE; | 53 const StatusCallback& callback) OVERRIDE; |
| 54 virtual void GetMetadata(const fileapi::FileSystemURL& url, | 54 virtual void GetMetadata(const fileapi::FileSystemURL& url, |
| 55 const GetMetadataCallback& callback) OVERRIDE; | 55 const GetMetadataCallback& callback) OVERRIDE; |
| 56 virtual void ReadDirectory(const fileapi::FileSystemURL& url, | 56 virtual void ReadDirectory(const fileapi::FileSystemURL& url, |
| 57 const ReadDirectoryCallback& callback) OVERRIDE; | 57 const ReadDirectoryCallback& callback) OVERRIDE; |
| 58 virtual void Remove(const fileapi::FileSystemURL& url, bool recursive, | 58 virtual void Remove(const fileapi::FileSystemURL& url, bool recursive, |
| 59 const StatusCallback& callback) OVERRIDE; | 59 const StatusCallback& callback) OVERRIDE; |
| 60 virtual void Write(const net::URLRequestContext* url_request_context, | 60 virtual void Write(const fileapi::FileSystemURL& url, |
| 61 const fileapi::FileSystemURL& url, | 61 scoped_ptr<fileapi::FileWriterDelegate> writer_delegate, |
| 62 const GURL& blob_url, | 62 scoped_ptr<net::URLRequest> blob_request, |
| 63 int64 offset, | |
| 64 const WriteCallback& callback) OVERRIDE; | 63 const WriteCallback& callback) OVERRIDE; |
| 65 virtual void Truncate(const fileapi::FileSystemURL& url, int64 length, | 64 virtual void Truncate(const fileapi::FileSystemURL& url, int64 length, |
| 66 const StatusCallback& callback) OVERRIDE; | 65 const StatusCallback& callback) OVERRIDE; |
| 67 virtual void TouchFile(const fileapi::FileSystemURL& url, | 66 virtual void TouchFile(const fileapi::FileSystemURL& url, |
| 68 const base::Time& last_access_time, | 67 const base::Time& last_access_time, |
| 69 const base::Time& last_modified_time, | 68 const base::Time& last_modified_time, |
| 70 const StatusCallback& callback) OVERRIDE; | 69 const StatusCallback& callback) OVERRIDE; |
| 71 virtual void OpenFile(const fileapi::FileSystemURL& url, | 70 virtual void OpenFile(const fileapi::FileSystemURL& url, |
| 72 int file_flags, | 71 int file_flags, |
| 73 base::ProcessHandle peer_handle, | 72 base::ProcessHandle peer_handle, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 StatusCallback completion_callback_; | 113 StatusCallback completion_callback_; |
| 115 | 114 |
| 116 bool is_directory_operation_enabled_; | 115 bool is_directory_operation_enabled_; |
| 117 | 116 |
| 118 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemOperation); | 117 DISALLOW_COPY_AND_ASSIGN(SyncableFileSystemOperation); |
| 119 }; | 118 }; |
| 120 | 119 |
| 121 } // namespace sync_file_system | 120 } // namespace sync_file_system |
| 122 | 121 |
| 123 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_OPERATION_H_ | 122 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_OPERATION_H_ |
| OLD | NEW |