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

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

Issue 7112011: Change DownloadProcessHandle to be more of an encapsulated class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged to LKGR. Created 9 years, 6 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_create_info.h ('k') | chrome/browser/download/download_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_create_info.cc
diff --git a/chrome/browser/download/download_create_info.cc b/chrome/browser/download/download_create_info.cc
index 8a77e821c2bd337a02a306c00c9c0e0b06dd8677..5dd192b78ed806c1950a23e11cd416d969af993d 100644
--- a/chrome/browser/download/download_create_info.cc
+++ b/chrome/browser/download/download_create_info.cc
@@ -53,9 +53,7 @@ std::string DownloadCreateInfo::DebugString() const {
" path = \"%" PRFilePath "\""
" received_bytes = %" PRId64
" total_bytes = %" PRId64
- " child_id = %d"
- " render_view_id = %d"
- " request_id = %d"
+ " request_handle = %s"
" prompt_user_for_save_location = %c"
" }",
download_id,
@@ -63,9 +61,7 @@ std::string DownloadCreateInfo::DebugString() const {
path.value().c_str(),
received_bytes,
total_bytes,
- process_handle.child_id(),
- process_handle.render_view_id(),
- process_handle.request_id(),
+ request_handle.DebugString().c_str(),
prompt_user_for_save_location ? 'T' : 'F');
}
« no previous file with comments | « chrome/browser/download/download_create_info.h ('k') | chrome/browser/download/download_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698