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

Unified Diff: content/browser/download/download_create_info.h

Issue 7624031: Treat files downloaded from the address bar as "always safe" (including extensions per discussion... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months 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: content/browser/download/download_create_info.h
===================================================================
--- content/browser/download/download_create_info.h (revision 98485)
+++ content/browser/download/download_create_info.h (working copy)
@@ -14,6 +14,7 @@
#include "base/time.h"
#include "content/browser/download/download_file.h"
#include "content/browser/download/download_request_handle.h"
+#include "content/common/page_transition_types.h"
#include "googleurl/src/gurl.h"
// Used for informing the download manager of a new download, since we don't
@@ -26,7 +27,8 @@
int64 total_bytes,
int32 state,
int32 download_id,
- bool has_user_gesture);
+ bool has_user_gesture,
+ PageTransition::Type transition_type);
DownloadCreateInfo();
~DownloadCreateInfo();
@@ -68,6 +70,8 @@
// True if the download was initiated by user action.
bool has_user_gesture;
+ PageTransition::Type transition_type;
+
// The handle to the download request information. Used for operations
// outside the download system.
DownloadRequestHandle request_handle;
« no previous file with comments | « chrome/common/extensions/docs/experimental.clear.html ('k') | content/browser/download/download_create_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698