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

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

Issue 1403001: Modifying the "dangerous download" algorithm. (Closed)
Patch Set: Moving extension methods out of download_util.h Created 10 years, 1 month 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 fc207f4e0ee391398b1bb0fa1c2b255041542dad..f8a60d9fa01c212a39fced1e53c5ed806c5e718d 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();
@@ -44,6 +45,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;

Powered by Google App Engine
This is Rietveld 408576698