Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5280)

Unified Diff: chrome/browser/download/save_package.cc

Issue 42054: Stop using renderer specific host ids in ResourceDispatcher. This allows it ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/plugin_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/save_package.cc
===================================================================
--- chrome/browser/download/save_package.cc (revision 11493)
+++ chrome/browser/download/save_package.cc (working copy)
@@ -156,7 +156,7 @@
save_type_(save_type),
all_save_items_count_(0),
wait_state_(INITIALIZE),
- tab_id_(web_content->process()->host_id()) {
+ tab_id_(web_content->process()->pid()) {
DCHECK(web_content);
const GURL& current_page_url = web_contents_->GetURL();
DCHECK(current_page_url.is_valid());
@@ -578,7 +578,7 @@
&SaveFileManager::RenameAllFiles,
final_names,
dir,
- web_contents_->process()->host_id(),
+ web_contents_->process()->pid(),
web_contents_->render_view_host()->routing_id()));
}
@@ -716,7 +716,7 @@
save_item->Start();
file_manager_->SaveURL(save_item->url(),
save_item->referrer(),
- web_contents_->process()->host_id(),
+ web_contents_->process()->pid(),
web_contents_->render_view_host()->routing_id(),
save_item->save_source(),
save_item->full_path(),
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/plugin_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698