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

Unified Diff: chrome/browser/history/download_create_info.cc

Issue 1403001: Modifying the "dangerous download" algorithm. (Closed)
Patch Set: Adding .sys and .drv as Dangerous extensions Created 10 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 | « chrome/browser/history/download_create_info.h ('k') | chrome/browser/history/history_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/download_create_info.cc
diff --git a/chrome/browser/history/download_create_info.cc b/chrome/browser/history/download_create_info.cc
index 67ffdc70ab1641409f9b584dcbf517ad065718db..a04d3e9764555e12bb010fcdbf594a45f6d14999 100644
--- a/chrome/browser/history/download_create_info.cc
+++ b/chrome/browser/history/download_create_info.cc
@@ -15,7 +15,8 @@ DownloadCreateInfo::DownloadCreateInfo(const FilePath& path,
int64 received_bytes,
int64 total_bytes,
int32 state,
- int32 download_id)
+ int32 download_id,
+ bool has_user_gesture)
: path(path),
url(url),
path_uniquifier(0),
@@ -24,6 +25,7 @@ DownloadCreateInfo::DownloadCreateInfo(const FilePath& path,
total_bytes(total_bytes),
state(state),
download_id(download_id),
+ has_user_gesture(has_user_gesture),
child_id(-1),
render_view_id(-1),
request_id(-1),
@@ -39,6 +41,7 @@ DownloadCreateInfo::DownloadCreateInfo()
total_bytes(0),
state(-1),
download_id(-1),
+ has_user_gesture(has_user_gesture),
child_id(-1),
render_view_id(-1),
request_id(-1),
« no previous file with comments | « chrome/browser/history/download_create_info.h ('k') | chrome/browser/history/history_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698