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

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: 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_file_unittest.cc ('k') | chrome/browser/download/download_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_item.h
diff --git a/chrome/browser/download/download_item.h b/chrome/browser/download/download_item.h
index 6aa5c8e0aabf530f5c4ecb770b2e87700e1d7add..ef262d61073cd25ab47b8c781b0c46b32ac04f4e 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 "content/common/notification_observer.h"
#include "content/common/notification_registrar.h"
@@ -302,8 +302,8 @@ class DownloadItem : public NotificationObserver {
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.
@@ -360,9 +360,9 @@ class DownloadItem : public NotificationObserver {
// 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_;
« no previous file with comments | « chrome/browser/download/download_file_unittest.cc ('k') | chrome/browser/download/download_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698