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. |