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

Unified Diff: webkit/fileapi/syncable/syncable_file_system_operation.cc

Issue 11410019: ********** Chromium Blob hacking (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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
« no previous file with comments | « webkit/fileapi/syncable/syncable_file_system_operation.h ('k') | webkit/fileapi/webfilewriter_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/syncable/syncable_file_system_operation.cc
===================================================================
--- webkit/fileapi/syncable/syncable_file_system_operation.cc (revision 183651)
+++ webkit/fileapi/syncable/syncable_file_system_operation.cc (working copy)
@@ -5,7 +5,7 @@
#include "webkit/fileapi/syncable/syncable_file_system_operation.h"
#include "base/logging.h"
-#include "webkit/blob/shareable_file_reference.h"
+#include "webkit/blob/blob_storage_context.h"
#include "webkit/fileapi/file_system_context.h"
#include "webkit/fileapi/file_system_url.h"
#include "webkit/fileapi/local_file_system_operation.h"
@@ -232,7 +232,7 @@
void SyncableFileSystemOperation::Write(
const net::URLRequestContext* url_request_context,
const FileSystemURL& url,
- const GURL& blob_url,
+ scoped_ptr<webkit_blob::BlobDataHandle> blob_handle,
int64 offset,
const WriteCallback& callback) {
DCHECK(CalledOnValidThread());
@@ -248,7 +248,7 @@
scoped_ptr<SyncableFileOperationRunner::Task> task(new QueueableTask(
this,
file_system_operation_->GetWriteClosure(
- url_request_context, url, blob_url, offset,
+ url_request_context, url, blob_handle.Pass(), offset,
base::Bind(&self::DidWrite, base::Owned(this), callback))));
operation_runner_->PostOperationTask(task.Pass());
}
« no previous file with comments | « webkit/fileapi/syncable/syncable_file_system_operation.h ('k') | webkit/fileapi/webfilewriter_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698