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

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

Issue 5603008: Modify the "dangerous download" algorithm as follows. Original patch by Pier... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
===================================================================
--- chrome/browser/history/download_create_info.h (revision 68377)
+++ chrome/browser/history/download_create_info.h (working copy)
@@ -27,7 +27,8 @@
int64 received_bytes,
int64 total_bytes,
int32 state,
- int32 download_id);
+ int32 download_id,
+ bool has_user_gesture);
DownloadCreateInfo();
~DownloadCreateInfo();
@@ -46,6 +47,7 @@
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