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

Unified Diff: chrome/browser/sync_file_system/local/canned_syncable_file_system.h

Issue 23223003: Chromium Blob hacking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « no previous file | chrome/browser/sync_file_system/local/canned_syncable_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/local/canned_syncable_file_system.h
diff --git a/chrome/browser/sync_file_system/local/canned_syncable_file_system.h b/chrome/browser/sync_file_system/local/canned_syncable_file_system.h
index ff20b231496fa4253a06218f57c06fc58dd870c8..440e779118d21cf13d1fdc9af66dd18e7548a292 100644
--- a/chrome/browser/sync_file_system/local/canned_syncable_file_system.h
+++ b/chrome/browser/sync_file_system/local/canned_syncable_file_system.h
@@ -15,6 +15,7 @@
#include "base/platform_file.h"
#include "chrome/browser/sync_file_system/local/local_file_sync_status.h"
#include "chrome/browser/sync_file_system/sync_status_code.h"
+#include "webkit/browser/blob/blob_data_handle.h"
#include "webkit/browser/fileapi/file_system_operation.h"
#include "webkit/browser/fileapi/file_system_url.h"
#include "webkit/browser/quota/quota_callbacks.h"
@@ -126,7 +127,8 @@ class CannedSyncableFileSystem
// 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.
@@ -184,7 +186,7 @@ class CannedSyncableFileSystem
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 | « no previous file | chrome/browser/sync_file_system/local/canned_syncable_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698