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

Unified Diff: content/public/browser/download_url_parameters.cc

Issue 16875007: [Downloads] Remove RDH from DownloadUrlParameters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « content/public/browser/download_url_parameters.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/download_url_parameters.cc
diff --git a/content/public/browser/download_url_parameters.cc b/content/public/browser/download_url_parameters.cc
index 7ec85083be9d1fc238a5d891d0168056a3029877..6fd51c1215d9026c826ca5f906547564a5a54b1e 100644
--- a/content/public/browser/download_url_parameters.cc
+++ b/content/public/browser/download_url_parameters.cc
@@ -9,7 +9,6 @@
#include "content/public/browser/download_save_info.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_view_host.h"
-#include "content/public/browser/resource_dispatcher_host.h"
#include "content/public/browser/web_contents.h"
#include "googleurl/src/gurl.h"
@@ -28,9 +27,7 @@ DownloadUrlParameters::DownloadUrlParameters(
render_process_host_id_(render_process_host_id),
render_view_host_routing_id_(render_view_host_routing_id),
resource_context_(resource_context),
- resource_dispatcher_host_(ResourceDispatcherHost::Get()),
url_(url) {
- DCHECK(resource_dispatcher_host_);
}
DownloadUrlParameters::~DownloadUrlParameters() {
« no previous file with comments | « content/public/browser/download_url_parameters.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698