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

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

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
Index: chrome/browser/history/download_create_info.h
diff --git a/chrome/browser/history/download_create_info.h b/chrome/browser/history/download_create_info.h
index b995b0b740151c74df91b5c1254400fdd52a432f..66c4ca34e5bfe7a7fca87f6bf2f059e5938fadf6 100644
--- a/chrome/browser/history/download_create_info.h
+++ b/chrome/browser/history/download_create_info.h
@@ -27,7 +27,8 @@ struct DownloadCreateInfo {
int64 received_bytes,
int64 total_bytes,
int32 state,
- int32 download_id);
+ int32 download_id,
+ bool has_user_gesture);
DownloadCreateInfo();
~DownloadCreateInfo();
@@ -46,6 +47,7 @@ struct DownloadCreateInfo {
int64 total_bytes;
int32 state;
int32 download_id;
+ bool has_user_gesture;
int child_id;
int render_view_id;
int request_id;
« no previous file with comments | « chrome/browser/extensions/user_script_listener_unittest.cc ('k') | chrome/browser/history/download_create_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698