| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CHROMEOS_FILEAPI_FILE_SYSTEM_FILE_UTIL_ASYNC_H_ | 5 #ifndef WEBKIT_CHROMEOS_FILEAPI_FILE_SYSTEM_FILE_UTIL_ASYNC_H_ |
| 6 #define WEBKIT_CHROMEOS_FILEAPI_FILE_SYSTEM_FILE_UTIL_ASYNC_H_ | 6 #define WEBKIT_CHROMEOS_FILEAPI_FILE_SYSTEM_FILE_UTIL_ASYNC_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/file_util_proxy.h" | 9 #include "base/file_util_proxy.h" |
| 10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 // if callback is called through PostTask, the data might get overwritten | 111 // if callback is called through PostTask, the data might get overwritten |
| 112 // before callback is actually called. | 112 // before callback is actually called. |
| 113 // | 113 // |
| 114 // TODO(olege): Maybe make it possible to read only a part of the directory. | 114 // TODO(olege): Maybe make it possible to read only a part of the directory. |
| 115 virtual void ReadDirectory(const FilePath& dir_path, | 115 virtual void ReadDirectory(const FilePath& dir_path, |
| 116 const ReadDirectoryCallback& callback) = 0; | 116 const ReadDirectoryCallback& callback) = 0; |
| 117 | 117 |
| 118 // TODO(olege): Add LocalCopy and LocalMove. | 118 // TODO(olege): Add LocalCopy and LocalMove. |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 } // fileapi | 121 } // namespace fileapi |
| 122 | 122 |
| 123 #endif // WEBKIT_CHROMEOS_FILEAPI_FILE_SYSTEM_FILE_UTIL_ASYNC_H_ | 123 #endif // WEBKIT_CHROMEOS_FILEAPI_FILE_SYSTEM_FILE_UTIL_ASYNC_H_ |
| OLD | NEW |