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

Unified Diff: trunk/src/content/browser/loader/async_resource_handler.cc

Issue 196533013: Revert 256688 "Fix various issues in RedirectToFileResourceHandler." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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 | « no previous file | trunk/src/content/browser/loader/redirect_to_file_resource_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/browser/loader/async_resource_handler.cc
===================================================================
--- trunk/src/content/browser/loader/async_resource_handler.cc (revision 256703)
+++ trunk/src/content/browser/loader/async_resource_handler.cc (working copy)
@@ -200,15 +200,6 @@
net::GetHostOrSpecFromURL(request_url))));
}
- // If the parent handler downloaded the resource to a file, grant the child
- // read permissions on it. Note: there is similar logic in
- // SyncResourceHandler.
- if (!response->head.download_file_path.empty()) {
- rdh_->RegisterDownloadedTempFile(
- info->GetChildID(), info->GetRequestID(),
- response->head.download_file_path);
- }
-
response->head.request_start = request()->creation_time();
response->head.response_start = TimeTicks::Now();
info->filter()->Send(new ResourceMsg_ReceivedResponse(request_id,
« no previous file with comments | « no previous file | trunk/src/content/browser/loader/redirect_to_file_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698