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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ |
6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ | 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 const StatusCallback& callback) override; | 46 const StatusCallback& callback) override; |
47 void Move(const FileSystemURL& src_url, | 47 void Move(const FileSystemURL& src_url, |
48 const FileSystemURL& dest_url, | 48 const FileSystemURL& dest_url, |
49 CopyOrMoveOption option, | 49 CopyOrMoveOption option, |
50 const StatusCallback& callback) override; | 50 const StatusCallback& callback) override; |
51 void DirectoryExists(const FileSystemURL& url, | 51 void DirectoryExists(const FileSystemURL& url, |
52 const StatusCallback& callback) override; | 52 const StatusCallback& callback) override; |
53 void FileExists(const FileSystemURL& url, | 53 void FileExists(const FileSystemURL& url, |
54 const StatusCallback& callback) override; | 54 const StatusCallback& callback) override; |
55 void GetMetadata(const FileSystemURL& url, | 55 void GetMetadata(const FileSystemURL& url, |
| 56 int fields, |
56 const GetMetadataCallback& callback) override; | 57 const GetMetadataCallback& callback) override; |
57 void ReadDirectory(const FileSystemURL& url, | 58 void ReadDirectory(const FileSystemURL& url, |
58 const ReadDirectoryCallback& callback) override; | 59 const ReadDirectoryCallback& callback) override; |
59 void Remove(const FileSystemURL& url, | 60 void Remove(const FileSystemURL& url, |
60 bool recursive, | 61 bool recursive, |
61 const StatusCallback& callback) override; | 62 const StatusCallback& callback) override; |
62 void Write(const FileSystemURL& url, | 63 void Write(const FileSystemURL& url, |
63 scoped_ptr<FileWriterDelegate> writer_delegate, | 64 scoped_ptr<FileWriterDelegate> writer_delegate, |
64 scoped_ptr<net::URLRequest> blob_request, | 65 scoped_ptr<net::URLRequest> blob_request, |
65 const WriteCallback& callback) override; | 66 const WriteCallback& callback) override; |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 OperationType pending_operation_; | 196 OperationType pending_operation_; |
196 | 197 |
197 base::WeakPtrFactory<FileSystemOperationImpl> weak_factory_; | 198 base::WeakPtrFactory<FileSystemOperationImpl> weak_factory_; |
198 | 199 |
199 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationImpl); | 200 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationImpl); |
200 }; | 201 }; |
201 | 202 |
202 } // namespace storage | 203 } // namespace storage |
203 | 204 |
204 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ | 205 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_ |
OLD | NEW |