summaryrefslogtreecommitdiffstats
path: root/chrome/common/resource_dispatcher.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-13 23:14:40 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-13 23:14:40 +0000
commitccef48cca72fbc8905a643759092ee0d913aca9c (patch)
tree041f0aacda14588d719103e13851a6574c89b62c /chrome/common/resource_dispatcher.h
parent314e9e40626d06dca6c19425b07c881d1d3321a3 (diff)
downloadchromium_src-ccef48cca72fbc8905a643759092ee0d913aca9c.zip
chromium_src-ccef48cca72fbc8905a643759092ee0d913aca9c.tar.gz
chromium_src-ccef48cca72fbc8905a643759092ee0d913aca9c.tar.bz2
Implementation of ResourceDispatcher::OnDownloadProgress
Implemented ResourceDispatcher::OnDownloadProgress to handle ViewMsg_DownloadProgress IPC message, implementation is a clone of ResourceDispatcher::OnUploadProgress because they have identical behavior. Review URL: http://codereview.chromium.org/39104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11681 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/resource_dispatcher.h')
-rw-r--r--chrome/common/resource_dispatcher.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/common/resource_dispatcher.h b/chrome/common/resource_dispatcher.h
index 04db7a1..5ea97e4 100644
--- a/chrome/common/resource_dispatcher.h
+++ b/chrome/common/resource_dispatcher.h
@@ -98,7 +98,8 @@ class ResourceDispatcher {
int request_id,
int64 position,
int64 size);
- void OnDownloadProgress(int request_id, int64 position, int64 size);
+ void OnDownloadProgress(const IPC::Message& message,
+ int request_id, int64 position, int64 size);
void OnReceivedResponse(int request_id, const ResourceResponseHead&);
void OnReceivedRedirect(int request_id, const GURL& new_url);
void OnReceivedData(const IPC::Message& message,