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

Unified Diff: chrome/common/render_messages_params.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
« 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
diff --git a/chrome/common/render_messages_params.h b/chrome/common/render_messages_params.h
index bc82818c6373a4b21beb27571a29dc3c93c1c610..d3a529ac9fbfc69a425afc9e45ad0dc42d103858 100644
--- a/chrome/common/render_messages_params.h
+++ b/chrome/common/render_messages_params.h
@@ -469,6 +469,9 @@ struct ViewHostMsg_Resource_Request {
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