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

Unified Diff: webkit/browser/fileapi/syncable/syncable_file_system_operation.h

Issue 16311010: Make FileSystemOperation::Write take closure-friendly parameters (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: webkit/browser/fileapi/syncable/syncable_file_system_operation.h
diff --git a/webkit/browser/fileapi/syncable/syncable_file_system_operation.h b/webkit/browser/fileapi/syncable/syncable_file_system_operation.h
index 90b68b2d088fc6e3cc99b2135680a72452e05ff6..7895ac546209cdda58e378dd2b1bfb2864cf3c42 100644
--- a/webkit/browser/fileapi/syncable/syncable_file_system_operation.h
+++ b/webkit/browser/fileapi/syncable/syncable_file_system_operation.h
@@ -57,10 +57,9 @@ class WEBKIT_STORAGE_EXPORT SyncableFileSystemOperation
const ReadDirectoryCallback& callback) OVERRIDE;
virtual void Remove(const fileapi::FileSystemURL& url, bool recursive,
const StatusCallback& callback) OVERRIDE;
- virtual void Write(const net::URLRequestContext* url_request_context,
- const fileapi::FileSystemURL& url,
- const GURL& blob_url,
- int64 offset,
+ virtual void Write(const fileapi::FileSystemURL& url,
+ scoped_ptr<fileapi::FileWriterDelegate> writer_delegate,
+ scoped_ptr<net::URLRequest> blob_request,
const WriteCallback& callback) OVERRIDE;
virtual void Truncate(const fileapi::FileSystemURL& url, int64 length,
const StatusCallback& callback) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698