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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_impl.h

Issue 10381122: Add flag to specify if explicitly requested download is from web. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to LKGR and integrated into DownloadUrlParams. Created 8 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
Index: content/browser/renderer_host/resource_dispatcher_host_impl.h
diff --git a/content/browser/renderer_host/resource_dispatcher_host_impl.h b/content/browser/renderer_host/resource_dispatcher_host_impl.h
index c306c46dc2c1beb80e5b662930b2da01d869058d..463fffaa4e1a15cee0123c4c7e4ec96af694304d 100644
--- a/content/browser/renderer_host/resource_dispatcher_host_impl.h
+++ b/content/browser/renderer_host/resource_dispatcher_host_impl.h
@@ -76,6 +76,7 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
virtual void SetAllowCrossOriginAuthPrompt(bool value) OVERRIDE;
virtual net::Error BeginDownload(
scoped_ptr<net::URLRequest> request,
+ bool is_content_initiated,
ResourceContext* context,
int child_id,
int route_id,
@@ -252,6 +253,7 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
int child_id,
int route_id,
int request_id,
+ bool is_content_initiated,
const DownloadSaveInfo& save_info,
const DownloadResourceHandler::OnStartedCallback& started_cb);
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/browser/renderer_host/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698