OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "storage/browser/fileapi/async_file_util.h" | 10 #include "storage/browser/fileapi/async_file_util.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 void EnsureFileExists(scoped_ptr<storage::FileSystemOperationContext> context, | 29 void EnsureFileExists(scoped_ptr<storage::FileSystemOperationContext> context, |
30 const storage::FileSystemURL& url, | 30 const storage::FileSystemURL& url, |
31 const EnsureFileExistsCallback& callback) override; | 31 const EnsureFileExistsCallback& callback) override; |
32 void CreateDirectory(scoped_ptr<storage::FileSystemOperationContext> context, | 32 void CreateDirectory(scoped_ptr<storage::FileSystemOperationContext> context, |
33 const storage::FileSystemURL& url, | 33 const storage::FileSystemURL& url, |
34 bool exclusive, | 34 bool exclusive, |
35 bool recursive, | 35 bool recursive, |
36 const StatusCallback& callback) override; | 36 const StatusCallback& callback) override; |
37 void GetFileInfo(scoped_ptr<storage::FileSystemOperationContext> context, | 37 void GetFileInfo(scoped_ptr<storage::FileSystemOperationContext> context, |
38 const storage::FileSystemURL& url, | 38 const storage::FileSystemURL& url, |
| 39 int fields, |
39 const GetFileInfoCallback& callback) override; | 40 const GetFileInfoCallback& callback) override; |
40 void ReadDirectory(scoped_ptr<storage::FileSystemOperationContext> context, | 41 void ReadDirectory(scoped_ptr<storage::FileSystemOperationContext> context, |
41 const storage::FileSystemURL& url, | 42 const storage::FileSystemURL& url, |
42 const ReadDirectoryCallback& callback) override; | 43 const ReadDirectoryCallback& callback) override; |
43 void Touch(scoped_ptr<storage::FileSystemOperationContext> context, | 44 void Touch(scoped_ptr<storage::FileSystemOperationContext> context, |
44 const storage::FileSystemURL& url, | 45 const storage::FileSystemURL& url, |
45 const base::Time& last_access_time, | 46 const base::Time& last_access_time, |
46 const base::Time& last_modified_time, | 47 const base::Time& last_modified_time, |
47 const StatusCallback& callback) override; | 48 const StatusCallback& callback) override; |
48 void Truncate(scoped_ptr<storage::FileSystemOperationContext> context, | 49 void Truncate(scoped_ptr<storage::FileSystemOperationContext> context, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 const CreateSnapshotFileCallback& callback) override; | 82 const CreateSnapshotFileCallback& callback) override; |
82 | 83 |
83 private: | 84 private: |
84 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtil); | 85 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtil); |
85 }; | 86 }; |
86 | 87 |
87 } // namespace internal | 88 } // namespace internal |
88 } // namespace drive | 89 } // namespace drive |
89 | 90 |
90 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ | 91 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ |
OLD | NEW |