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

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

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.cc ('k') | chrome/browser/download/download_file.cc » ('j') | no next file with comments »
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 63060fec55c600f89de77d2faaeafd89eb93fe47..4fa3bfc50cb0cd6499e0128a19b10d66545807ed 100644
--- a/chrome/browser/download/download_file.h
+++ b/chrome/browser/download/download_file.h
@@ -11,7 +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_request_handle.h"
#include "chrome/browser/download/download_types.h"
struct DownloadCreateInfo;
@@ -29,7 +29,7 @@ class DownloadFile : public BaseFile {
virtual ~DownloadFile();
// Cancels the download request associated with this file.
- void CancelDownloadRequest(ResourceDispatcherHost* rdh);
+ void CancelDownloadRequest();
int id() const { return id_; }
DownloadManager* GetDownloadManager();
@@ -41,9 +41,9 @@ class DownloadFile : public BaseFile {
// the DownloadFileManager for its internal record keeping.
int id_;
- // The handle to the process information. Used for operations outside the
+ // The handle to the request information. Used for operations outside the
// download system, specifically canceling a download.
- DownloadProcessHandle process_handle_;
+ DownloadRequestHandle request_handle_;
// DownloadManager this download belongs to.
scoped_refptr<DownloadManager> download_manager_;
« no previous file with comments | « chrome/browser/download/download_create_info.cc ('k') | chrome/browser/download/download_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698