| 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 <stdint.h> |
| 9 |
| 9 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
| 10 #include "storage/browser/fileapi/async_file_util.h" | 12 #include "storage/browser/fileapi/async_file_util.h" |
| 11 | 13 |
| 12 namespace chromeos { | 14 namespace chromeos { |
| 13 namespace file_system_provider { | 15 namespace file_system_provider { |
| 14 | 16 |
| 15 class FileSystemInterface; | 17 class FileSystemInterface; |
| 16 | 18 |
| 17 // TODO(mtomasz): Remove this namespace. | 19 // TODO(mtomasz): Remove this namespace. |
| 18 namespace internal { | 20 namespace internal { |
| 19 | 21 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 void ReadDirectory(scoped_ptr<storage::FileSystemOperationContext> context, | 54 void ReadDirectory(scoped_ptr<storage::FileSystemOperationContext> context, |
| 53 const storage::FileSystemURL& url, | 55 const storage::FileSystemURL& url, |
| 54 const ReadDirectoryCallback& callback) override; | 56 const ReadDirectoryCallback& callback) override; |
| 55 void Touch(scoped_ptr<storage::FileSystemOperationContext> context, | 57 void Touch(scoped_ptr<storage::FileSystemOperationContext> context, |
| 56 const storage::FileSystemURL& url, | 58 const storage::FileSystemURL& url, |
| 57 const base::Time& last_access_time, | 59 const base::Time& last_access_time, |
| 58 const base::Time& last_modified_time, | 60 const base::Time& last_modified_time, |
| 59 const StatusCallback& callback) override; | 61 const StatusCallback& callback) override; |
| 60 void Truncate(scoped_ptr<storage::FileSystemOperationContext> context, | 62 void Truncate(scoped_ptr<storage::FileSystemOperationContext> context, |
| 61 const storage::FileSystemURL& url, | 63 const storage::FileSystemURL& url, |
| 62 int64 length, | 64 int64_t length, |
| 63 const StatusCallback& callback) override; | 65 const StatusCallback& callback) override; |
| 64 void CopyFileLocal(scoped_ptr<storage::FileSystemOperationContext> context, | 66 void CopyFileLocal(scoped_ptr<storage::FileSystemOperationContext> context, |
| 65 const storage::FileSystemURL& src_url, | 67 const storage::FileSystemURL& src_url, |
| 66 const storage::FileSystemURL& dest_url, | 68 const storage::FileSystemURL& dest_url, |
| 67 CopyOrMoveOption option, | 69 CopyOrMoveOption option, |
| 68 const CopyFileProgressCallback& progress_callback, | 70 const CopyFileProgressCallback& progress_callback, |
| 69 const StatusCallback& callback) override; | 71 const StatusCallback& callback) override; |
| 70 void MoveFileLocal(scoped_ptr<storage::FileSystemOperationContext> context, | 72 void MoveFileLocal(scoped_ptr<storage::FileSystemOperationContext> context, |
| 71 const storage::FileSystemURL& src_url, | 73 const storage::FileSystemURL& src_url, |
| 72 const storage::FileSystemURL& dest_url, | 74 const storage::FileSystemURL& dest_url, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 94 | 96 |
| 95 private: | 97 private: |
| 96 DISALLOW_COPY_AND_ASSIGN(ProviderAsyncFileUtil); | 98 DISALLOW_COPY_AND_ASSIGN(ProviderAsyncFileUtil); |
| 97 }; | 99 }; |
| 98 | 100 |
| 99 } // namespace internal | 101 } // namespace internal |
| 100 } // namespace file_system_provider | 102 } // namespace file_system_provider |
| 101 } // namespace chromeos | 103 } // namespace chromeos |
| 102 | 104 |
| 103 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_PROVIDER_ASYNC_F
ILE_UTIL_H_ | 105 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FILEAPI_PROVIDER_ASYNC_F
ILE_UTIL_H_ |
| OLD | NEW |