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

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

Issue 7112011: Change DownloadProcessHandle to be more of an encapsulated class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unneeded include file. 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
Index: chrome/browser/download/download_item.h
diff --git a/chrome/browser/download/download_item.h b/chrome/browser/download/download_item.h
index ab04ddf2f936f5c118e9b2b1bdb7a2e282f23255..166e41b6eb9308fb14cc3f2986cf6a9c19756a4f 100644
--- a/chrome/browser/download/download_item.h
+++ b/chrome/browser/download/download_item.h
@@ -25,7 +25,7 @@
#include "base/observer_list.h"
#include "base/time.h"
#include "base/timer.h"
-#include "chrome/browser/download/download_process_handle.h"
+#include "chrome/browser/download/download_request_handle.h"
#include "chrome/browser/download/download_state_info.h"
#include "googleurl/src/gurl.h"
@@ -294,8 +294,8 @@ class DownloadItem {
DownloadHistoryInfo GetHistoryInfo() const;
DownloadStateInfo state_info() const { return state_info_; }
- const DownloadProcessHandle& process_handle() const {
- return process_handle_;
+ const DownloadRequestHandle& request_handle() const {
+ return request_handle_;
}
// Returns the final target file path for the download.
@@ -339,9 +339,9 @@ class DownloadItem {
// State information used by the download manager.
DownloadStateInfo state_info_;
- // The handle to the process information. Used for operations outside the
+ // The handle to the request information. Used for operations outside the
// download system.
- DownloadProcessHandle process_handle_;
+ DownloadRequestHandle request_handle_;
// Download ID assigned by DownloadResourceHandler.
int32 download_id_;

Powered by Google App Engine
This is Rietveld 408576698