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

Unified Diff: chrome/common/render_messages_params.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
« no previous file with comments | « chrome/common/navigation_gesture.h ('k') | chrome/common/render_messages_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_params.h
===================================================================
--- chrome/common/render_messages_params.h (revision 68377)
+++ chrome/common/render_messages_params.h (working copy)
@@ -469,6 +469,9 @@
bool download_to_file;
+ // True if the request was user initiated.
+ bool has_user_gesture;
+
// The following two members are specified if the request is initiated by
// a plugin like Gears.
« no previous file with comments | « chrome/common/navigation_gesture.h ('k') | chrome/common/render_messages_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698