diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 22:44:13 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 22:44:13 +0000 |
commit | ad15f9e53eb8173ce3e4af4d6c6685979b4b9338 (patch) | |
tree | 82c5816c2ec9448921402b5366c6ef5d35f8eff3 /chrome/browser/renderer_host/download_resource_handler.cc | |
parent | 8db216ee756d4e06fbd05676b045784da3a5928c (diff) | |
download | chromium_src-ad15f9e53eb8173ce3e4af4d6c6685979b4b9338.zip chromium_src-ad15f9e53eb8173ce3e4af4d6c6685979b4b9338.tar.gz chromium_src-ad15f9e53eb8173ce3e4af4d6c6685979b4b9338.tar.bz2 |
A little cleanup of ResourceDispatcherHost to make it less renderer centric, since it's used by plugin and worker processes.
Review URL: http://codereview.chromium.org/43001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/download_resource_handler.cc')
-rw-r--r-- | chrome/browser/renderer_host/download_resource_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/download_resource_handler.cc b/chrome/browser/renderer_host/download_resource_handler.cc index 2187506..bef9a2e 100644 --- a/chrome/browser/renderer_host/download_resource_handler.cc +++ b/chrome/browser/renderer_host/download_resource_handler.cc @@ -56,7 +56,7 @@ bool DownloadResourceHandler::OnResponseStarted(int request_id, info->total_bytes = content_length_; info->state = DownloadItem::IN_PROGRESS; info->download_id = download_id_; - info->render_process_id = global_id_.render_process_host_id; + info->render_process_id = global_id_.process_id; info->render_view_id = render_view_id_; info->request_id = global_id_.request_id; info->content_disposition = content_disposition_; @@ -158,7 +158,7 @@ void DownloadResourceHandler::CheckWriteProgress() { StartPauseTimer(); if (is_paused_ != should_pause) { - rdh_->PauseRequest(global_id_.render_process_host_id, + rdh_->PauseRequest(global_id_.process_id, global_id_.request_id, should_pause); is_paused_ = should_pause; |