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

Unified Diff: webkit/fileapi/syncable/canned_syncable_file_system.h

Issue 11416382: ********** Content tests with blob hacking. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 8 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/fileapi/syncable/canned_syncable_file_system.h
===================================================================
--- webkit/fileapi/syncable/canned_syncable_file_system.h (revision 186525)
+++ webkit/fileapi/syncable/canned_syncable_file_system.h (working copy)
@@ -39,6 +39,9 @@
namespace quota {
class QuotaManager;
}
+namespace webkit_blob {
+class BlobDataHandle;
+}
namespace sync_file_system {
@@ -120,7 +123,8 @@
// Returns the # of bytes written (>=0) or an error code (<0).
int64 Write(net::URLRequestContext* url_request_context,
- const fileapi::FileSystemURL& url, const GURL& blob_url);
+ const fileapi::FileSystemURL& url,
+ scoped_ptr<webkit_blob::BlobDataHandle> blob_data_handle);
int64 WriteString(const fileapi::FileSystemURL& url, const std::string& data);
// Purges the file system local storage.
@@ -182,7 +186,7 @@
const StatusCallback& callback);
void DoWrite(net::URLRequestContext* url_request_context,
const fileapi::FileSystemURL& url,
- const GURL& blob_url,
+ scoped_ptr<webkit_blob::BlobDataHandle> blob_data_handle,
const WriteCallback& callback);
void DoWriteString(const fileapi::FileSystemURL& url,
const std::string& data,
« no previous file with comments | « webkit/fileapi/local_file_system_operation_write_unittest.cc ('k') | webkit/fileapi/syncable/canned_syncable_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698