Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: webkit/browser/fileapi/file_system_operation_runner.h

Issue 291513003: Remove PlatformFile from fileapi::FileSystemOperation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ 6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 const std::vector<DirectoryEntry>& entries, 264 const std::vector<DirectoryEntry>& entries,
265 bool has_more); 265 bool has_more);
266 void DidWrite(const OperationHandle& handle, 266 void DidWrite(const OperationHandle& handle,
267 const WriteCallback& callback, 267 const WriteCallback& callback,
268 base::File::Error rv, 268 base::File::Error rv,
269 int64 bytes, 269 int64 bytes,
270 bool complete); 270 bool complete);
271 void DidOpenFile( 271 void DidOpenFile(
272 const OperationHandle& handle, 272 const OperationHandle& handle,
273 const OpenFileCallback& callback, 273 const OpenFileCallback& callback,
274 base::File::Error rv, 274 base::File file,
275 base::PlatformFile file,
276 const base::Closure& on_close_callback); 275 const base::Closure& on_close_callback);
277 void DidCreateSnapshot( 276 void DidCreateSnapshot(
278 const OperationHandle& handle, 277 const OperationHandle& handle,
279 const SnapshotFileCallback& callback, 278 const SnapshotFileCallback& callback,
280 base::File::Error rv, 279 base::File::Error rv,
281 const base::File::Info& file_info, 280 const base::File::Info& file_info,
282 const base::FilePath& platform_path, 281 const base::FilePath& platform_path,
283 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref); 282 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref);
284 283
285 void OnCopyProgress( 284 void OnCopyProgress(
(...skipping 28 matching lines...) Expand all
314 313
315 // Callbacks for stray cancels whose target operation is already finished. 314 // Callbacks for stray cancels whose target operation is already finished.
316 std::map<OperationID, StatusCallback> stray_cancel_callbacks_; 315 std::map<OperationID, StatusCallback> stray_cancel_callbacks_;
317 316
318 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationRunner); 317 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationRunner);
319 }; 318 };
320 319
321 } // namespace fileapi 320 } // namespace fileapi
322 321
323 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_ 322 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698