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

Unified Diff: chrome/browser/download/download_file.h

Issue 6932046: Added DownloadProcessHandle class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved process_handle_ initializer in DownloadItem constructor. Created 9 years, 7 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 | « no previous file | chrome/browser/download/download_file.cc » ('j') | chrome/browser/download/download_file.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_file.h
diff --git a/chrome/browser/download/download_file.h b/chrome/browser/download/download_file.h
index 815f643bc36d85c0c6a78655c420517f2662c380..63060fec55c600f89de77d2faaeafd89eb93fe47 100644
--- a/chrome/browser/download/download_file.h
+++ b/chrome/browser/download/download_file.h
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "chrome/browser/download/base_file.h"
+#include "chrome/browser/download/download_process_handle.h"
#include "chrome/browser/download/download_types.h"
struct DownloadCreateInfo;
@@ -40,11 +41,9 @@ class DownloadFile : public BaseFile {
// the DownloadFileManager for its internal record keeping.
int id_;
- // IDs for looking up the tab we are associated with.
- int child_id_;
-
- // Handle for informing the ResourceDispatcherHost of a UI based cancel.
- int request_id_;
+ // The handle to the process information. Used for operations outside the
+ // download system, specifically canceling a download.
+ DownloadProcessHandle process_handle_;
// DownloadManager this download belongs to.
scoped_refptr<DownloadManager> download_manager_;
« no previous file with comments | « no previous file | chrome/browser/download/download_file.cc » ('j') | chrome/browser/download/download_file.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698