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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.cc

Issue 1484093002: Allowing multiple SaveItems to have same URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nested-frames-more-involved-fix
Patch Set: Rebasing... Created 5 years 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/browser/loader/resource_dispatcher_host_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_dispatcher_host_impl.cc
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
index c2504a92c9bc01916242ef1a9d1cab25a96a28c1..632fbb50d9dbd18d33e6a8d72acbd26332d057c6 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.cc
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc
@@ -1709,6 +1709,7 @@ void ResourceDispatcherHostImpl::OnAudioRenderHostStreamStateChanged(
// This function is only used for saving feature.
void ResourceDispatcherHostImpl::BeginSaveFile(const GURL& url,
const Referrer& referrer,
+ int save_item_id,
int save_package_id,
int child_id,
int render_view_route_id,
@@ -1752,8 +1753,8 @@ void ResourceDispatcherHostImpl::BeginSaveFile(const GURL& url,
extra_info->AssociateWithRequest(request.get()); // Request takes ownership.
scoped_ptr<ResourceHandler> handler(new SaveFileResourceHandler(
- request.get(), save_package_id, child_id, render_frame_route_id, url,
- save_file_manager_.get()));
+ request.get(), save_item_id, save_package_id, child_id,
+ render_frame_route_id, url, save_file_manager_.get()));
BeginRequestInternal(request.Pass(), handler.Pass());
}
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698