| Index: webkit/glue/resource_loader_bridge.h
|
| diff --git a/webkit/glue/resource_loader_bridge.h b/webkit/glue/resource_loader_bridge.h
|
| index 8d32f0cc62b5f0e1e5d86164fe429c394c3a63c3..bd5ad427892afd777902312876a3972310667306 100644
|
| --- a/webkit/glue/resource_loader_bridge.h
|
| +++ b/webkit/glue/resource_loader_bridge.h
|
| @@ -91,6 +91,13 @@ class ResourceLoaderBridge {
|
| public:
|
| virtual ~Peer() {}
|
|
|
| + // Called as download progress is made.
|
| + // note: only for requests with LOAD_ENABLE_DOWNLOAD_FILE set and the
|
| + // resource is downloaded to a standalone file and the file handle to it is
|
| + // passed in ResponseInfo during OnReceivedResponse. Note that size may be
|
| + // unknown and |size| will be kuint64max in that case.
|
| + virtual void OnDownloadProgress(uint64 position, uint64 size) {}
|
| +
|
| // Called as upload progress is made.
|
| // note: only for requests with LOAD_ENABLE_UPLOAD_PROGRESS set
|
| virtual void OnUploadProgress(uint64 position, uint64 size) = 0;
|
| @@ -105,7 +112,7 @@ class ResourceLoaderBridge {
|
| virtual void OnReceivedResponse(const ResponseInfo& info,
|
| bool content_filtered) = 0;
|
|
|
| - // Called when a chunk of response data is available. This method may
|
| + // Called when a chunk of response data is available. This method may
|
| // be called multiple times or not at all if an error occurs.
|
| virtual void OnReceivedData(const char* data, int len) = 0;
|
|
|
|
|