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_FILE_SYSTEM_PROVIDER_FILEAPI_PROVIDER_ASYNC_FILE
_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_PROVIDER_ASYNC_FILE
_UTIL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_PROVIDER_ASYNC_FILE
_UTIL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_PROVIDER_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 29 matching lines...) Expand all Loading... |
40 void EnsureFileExists(scoped_ptr<storage::FileSystemOperationContext> context, | 40 void EnsureFileExists(scoped_ptr<storage::FileSystemOperationContext> context, |
41 const storage::FileSystemURL& url, | 41 const storage::FileSystemURL& url, |
42 const EnsureFileExistsCallback& callback) override; | 42 const EnsureFileExistsCallback& callback) override; |
43 void CreateDirectory(scoped_ptr<storage::FileSystemOperationContext> context, | 43 void CreateDirectory(scoped_ptr<storage::FileSystemOperationContext> context, |
44 const storage::FileSystemURL& url, | 44 const storage::FileSystemURL& url, |
45 bool exclusive, | 45 bool exclusive, |
46 bool recursive, | 46 bool recursive, |
47 const StatusCallback& callback) override; | 47 const StatusCallback& callback) override; |
48 void GetFileInfo(scoped_ptr<storage::FileSystemOperationContext> context, | 48 void GetFileInfo(scoped_ptr<storage::FileSystemOperationContext> context, |
49 const storage::FileSystemURL& url, | 49 const storage::FileSystemURL& url, |
| 50 int fields, |
50 const GetFileInfoCallback& callback) override; | 51 const GetFileInfoCallback& callback) override; |
51 void ReadDirectory(scoped_ptr<storage::FileSystemOperationContext> context, | 52 void ReadDirectory(scoped_ptr<storage::FileSystemOperationContext> context, |
52 const storage::FileSystemURL& url, | 53 const storage::FileSystemURL& url, |
53 const ReadDirectoryCallback& callback) override; | 54 const ReadDirectoryCallback& callback) override; |
54 void Touch(scoped_ptr<storage::FileSystemOperationContext> context, | 55 void Touch(scoped_ptr<storage::FileSystemOperationContext> context, |
55 const storage::FileSystemURL& url, | 56 const storage::FileSystemURL& url, |
56 const base::Time& last_access_time, | 57 const base::Time& last_access_time, |
57 const base::Time& last_modified_time, | 58 const base::Time& last_modified_time, |
58 const StatusCallback& callback) override; | 59 const StatusCallback& callback) override; |
59 void Truncate(scoped_ptr<storage::FileSystemOperationContext> context, | 60 void Truncate(scoped_ptr<storage::FileSystemOperationContext> context, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 94 |
94 private: | 95 private: |
95 DISALLOW_COPY_AND_ASSIGN(ProviderAsyncFileUtil); | 96 DISALLOW_COPY_AND_ASSIGN(ProviderAsyncFileUtil); |
96 }; | 97 }; |
97 | 98 |
98 } // namespace internal | 99 } // namespace internal |
99 } // namespace file_system_provider | 100 } // namespace file_system_provider |
100 } // namespace chromeos | 101 } // namespace chromeos |
101 | 102 |
102 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_PROVIDER_ASYNC_F
ILE_UTIL_H_ | 103 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_PROVIDER_ASYNC_F
ILE_UTIL_H_ |
OLD | NEW |