| Index: content/public/browser/resource_dispatcher_host.h
|
| diff --git a/content/public/browser/resource_dispatcher_host.h b/content/public/browser/resource_dispatcher_host.h
|
| index 1eb4c44593a08ef8dec55ce93bbef63d01005951..030dd75479b27b6a15e8a9f5e3859458a24e5fdc 100644
|
| --- a/content/public/browser/resource_dispatcher_host.h
|
| +++ b/content/public/browser/resource_dispatcher_host.h
|
| @@ -37,9 +37,12 @@ class CONTENT_EXPORT ResourceDispatcherHost {
|
| // Initiates a download by explicit request of the renderer, e.g. due to
|
| // alt-clicking a link. If the download is started, |started_callback| will
|
| // be called on the UI thread with the DownloadId; otherwise an error code
|
| - // will be returned.
|
| + // will be returned. |is_content_initiated| is used to indicate that
|
| + // the request was generated from a web page, and hence may not be
|
| + // as trustworthy as a browser generated request.
|
| virtual net::Error BeginDownload(
|
| scoped_ptr<net::URLRequest> request,
|
| + bool is_content_initiated,
|
| ResourceContext* context,
|
| int child_id,
|
| int route_id,
|
|
|