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

Unified Diff: webkit/glue/resource_loader_bridge.h

Issue 10828252: Support FileSystem URL in File object (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/glue/resource_loader_bridge.h
diff --git a/webkit/glue/resource_loader_bridge.h b/webkit/glue/resource_loader_bridge.h
index 70db933767cda47e9f01be9c883245708b7aa6b3..88fb1d51190d3e7367f79ba15d5c473cff65bba3 100644
--- a/webkit/glue/resource_loader_bridge.h
+++ b/webkit/glue/resource_loader_bridge.h
@@ -370,6 +370,15 @@ class ResourceLoaderBridge {
// to the request body. May only be used with HTTP(S) POST requests.
virtual void AppendBlobToUpload(const GURL& blob_url) = 0;
+ // Call this method before calling Start() to append the contents of a file
+ // specified by FileSYstem URL to the request body. May only be used with
+ // HTTP(S) POST requests.
+ virtual void AppendFileSystemFileRangeToUpload(
+ const GURL& url,
+ uint64 offset,
+ uint64 length,
+ const base::Time& expected_modification_time) = 0;
+
// Call this method before calling Start() to assign an upload identifier to
// this request. This is used to enable caching of POST responses. A value
// of 0 implies the unspecified identifier.

Powered by Google App Engine
This is Rietveld 408576698