summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-10 22:44:13 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-10 22:44:13 +0000
commitad15f9e53eb8173ce3e4af4d6c6685979b4b9338 (patch)
tree82c5816c2ec9448921402b5366c6ef5d35f8eff3 /chrome/browser/tab_contents
parent8db216ee756d4e06fbd05676b045784da3a5928c (diff)
downloadchromium_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/tab_contents')
-rw-r--r--chrome/browser/tab_contents/interstitial_page.cc6
-rw-r--r--chrome/browser/tab_contents/tab_util.cc4
2 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/tab_contents/interstitial_page.cc b/chrome/browser/tab_contents/interstitial_page.cc
index b935b64..4d56420 100644
--- a/chrome/browser/tab_contents/interstitial_page.cc
+++ b/chrome/browser/tab_contents/interstitial_page.cc
@@ -37,15 +37,15 @@ class ResourceRequestTask : public Task {
virtual void Run() {
switch (action_) {
case BLOCK:
- resource_dispatcher_host_->BlockRequestsForRenderView(
+ resource_dispatcher_host_->BlockRequestsForRoute(
process_id_, render_view_host_id_);
break;
case RESUME:
- resource_dispatcher_host_->ResumeBlockedRequestsForRenderView(
+ resource_dispatcher_host_->ResumeBlockedRequestsForRoute(
process_id_, render_view_host_id_);
break;
case CANCEL:
- resource_dispatcher_host_->CancelBlockedRequestsForRenderView(
+ resource_dispatcher_host_->CancelBlockedRequestsForRoute(
process_id_, render_view_host_id_);
break;
default:
diff --git a/chrome/browser/tab_contents/tab_util.cc b/chrome/browser/tab_contents/tab_util.cc
index 3437f1c..5c53ddb 100644
--- a/chrome/browser/tab_contents/tab_util.cc
+++ b/chrome/browser/tab_contents/tab_util.cc
@@ -22,8 +22,8 @@ bool tab_util::GetTabContentsID(URLRequest* request,
if (!info)
return false;
- *render_process_id = info->render_process_host_id;
- *render_view_id = info->render_view_id;
+ *render_process_id = info->process_id;
+ *render_view_id = info->route_id;
return true;
}