Index: chrome/browser/download/download_permission_request.cc |
diff --git a/chrome/browser/download/download_permission_request.cc b/chrome/browser/download/download_permission_request.cc |
index 18e19959337d86d03d0a7b0f729395e642298789..552a7e149d228bea854a96458e39320a4692365f 100644 |
--- a/chrome/browser/download/download_permission_request.cc |
+++ b/chrome/browser/download/download_permission_request.cc |
@@ -29,8 +29,10 @@ base::string16 DownloadPermissionRequest::GetMessageTextFragment() const { |
bool DownloadPermissionRequest::HasUserGesture() const { |
// TODO(gbillock): user gesture for multiple downloads is difficult to |
- // propagate, and the normal thing is that it is background. |
- return false; |
+ // propagate, and the normal thing is that it is background. So lie to |
+ // the manager and say it is user gestured. This needs to be examined |
+ // for policy coherence... |
+ return true; |
asanka
2014/08/14 15:49:31
Why is it necessary to invert this? Downloads that
Greg Billock
2014/08/18 22:28:12
It isn't clear what we want to do here. I think th
asanka
2014/08/22 20:56:47
Depends on how it's used. It seems that if any per
Greg Billock
2014/09/05 17:41:05
I looked into this, and I can't connect the dots f
|
} |
GURL DownloadPermissionRequest::GetRequestingHostname() const { |