From 6e8cce623b6e4fe0c9e4af605d675dd9d0338c38 Mon Sep 17 00:00:00 2001 From: "Torne (Richard Coles)" Date: Tue, 19 Aug 2014 13:00:08 +0100 Subject: Merge from Chromium at DEPS revision 290040 This commit was generated by merge_to_master.py. Change-Id: I694ec52d1e0b553f163c2faf4373d63270ab1aac --- content/browser/download/download_resource_handler.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'content/browser/download/download_resource_handler.cc') diff --git a/content/browser/download/download_resource_handler.cc b/content/browser/download/download_resource_handler.cc index 073e25ce16..f2fb2a5b26 100644 --- a/content/browser/download/download_resource_handler.cc +++ b/content/browser/download/download_resource_handler.cc @@ -141,12 +141,9 @@ bool DownloadResourceHandler::OnUploadProgress(uint64 position, } bool DownloadResourceHandler::OnRequestRedirected( - const GURL& url, + const net::RedirectInfo& redirect_info, ResourceResponse* response, bool* defer) { - // We treat a download as a main frame load, and thus update the policy URL - // on redirects. - request()->set_first_party_for_cookies(url); return true; } -- cgit v1.2.3