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

Unified Diff: chrome/browser/plugin_download_helper.cc

Issue 7054023: Get rid of url_request_tracking.*. The only other place that used it other than ResourceDispatch... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 | « chrome/browser/plugin_download_helper.h ('k') | chrome/browser/ssl/ssl_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_download_helper.cc
===================================================================
--- chrome/browser/plugin_download_helper.cc (revision 86090)
+++ chrome/browser/plugin_download_helper.cc (working copy)
@@ -8,19 +8,16 @@
#include <windows.h>
#include "base/file_util.h"
-#include "chrome/browser/net/url_request_tracking.h"
#include "net/base/io_buffer.h"
PluginDownloadUrlHelper::PluginDownloadUrlHelper(
const std::string& download_url,
- int source_child_unique_id,
gfx::NativeWindow caller_window,
PluginDownloadUrlHelper::DownloadDelegate* delegate)
: download_file_request_(NULL),
download_file_buffer_(new net::IOBuffer(kDownloadFileBufferSize)),
download_file_caller_window_(caller_window),
download_url_(download_url),
- download_source_child_unique_id_(source_child_unique_id),
delegate_(delegate) {
memset(download_file_buffer_->data(), 0, kDownloadFileBufferSize);
download_file_.reset(new net::FileStream());
@@ -36,8 +33,6 @@
void PluginDownloadUrlHelper::InitiateDownload(
net::URLRequestContext* request_context) {
download_file_request_ = new net::URLRequest(GURL(download_url_), this);
- chrome_browser_net::SetOriginPIDForRequest(
- download_source_child_unique_id_, download_file_request_);
download_file_request_->set_context(request_context);
download_file_request_->Start();
}
« no previous file with comments | « chrome/browser/plugin_download_helper.h ('k') | chrome/browser/ssl/ssl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698