OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_FILEAPI_FILE_SYSTEM_OPERATION_H_ | 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_ |
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_ | 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 const base::PlatformFileInfo& file_info); | 97 const base::PlatformFileInfo& file_info); |
98 | 98 |
99 void DidFileExists(base::PlatformFileError rv, | 99 void DidFileExists(base::PlatformFileError rv, |
100 const base::PlatformFileInfo& file_info); | 100 const base::PlatformFileInfo& file_info); |
101 | 101 |
102 void DidGetMetadata(base::PlatformFileError rv, | 102 void DidGetMetadata(base::PlatformFileError rv, |
103 const base::PlatformFileInfo& file_info); | 103 const base::PlatformFileInfo& file_info); |
104 | 104 |
105 void DidReadDirectory( | 105 void DidReadDirectory( |
106 base::PlatformFileError rv, | 106 base::PlatformFileError rv, |
107 const std::vector<base::file_util_proxy::Entry>& entries); | 107 const std::vector<base::FileUtilProxy::Entry>& entries); |
108 | 108 |
109 void DidWrite( | 109 void DidWrite( |
110 base::PlatformFileError rv, | 110 base::PlatformFileError rv, |
111 int64 bytes, | 111 int64 bytes, |
112 bool complete); | 112 bool complete); |
113 | 113 |
114 void DidTouchFile(base::PlatformFileError rv); | 114 void DidTouchFile(base::PlatformFileError rv); |
115 | 115 |
116 // Helper for Write(). | 116 // Helper for Write(). |
117 void OnFileOpenedForWrite( | 117 void OnFileOpenedForWrite( |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 // A flag to make sure we call operation only once per instance. | 149 // A flag to make sure we call operation only once per instance. |
150 OperationType pending_operation_; | 150 OperationType pending_operation_; |
151 #endif | 151 #endif |
152 | 152 |
153 DISALLOW_COPY_AND_ASSIGN(FileSystemOperation); | 153 DISALLOW_COPY_AND_ASSIGN(FileSystemOperation); |
154 }; | 154 }; |
155 | 155 |
156 } // namespace fileapi | 156 } // namespace fileapi |
157 | 157 |
158 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_ | 158 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_ |
OLD | NEW |