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

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

Issue 2791453003: DownloadManager : Create transient downloads (Closed)
Patch Set: nits Created 3 years, 8 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
« no previous file with comments | « chrome/browser/download/download_browsertest.cc ('k') | content/browser/download/download_create_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_create_info.h
diff --git a/content/browser/download/download_create_info.h b/content/browser/download/download_create_info.h
index f5c11ea0a23e5b749fd27edaed9dd04c03ee53b1..db0620b3fa263d3b785020dc3c09122fa43aca4e 100644
--- a/content/browser/download/download_create_info.h
+++ b/content/browser/download/download_create_info.h
@@ -76,6 +76,10 @@ struct CONTENT_EXPORT DownloadCreateInfo {
// True if the download was initiated by user action.
bool has_user_gesture;
+ // Whether the download should be transient. A transient download is
+ // short-lived and is not shown in the UI.
+ bool transient;
+
base::Optional<ui::PageTransition> transition_type;
// The remote IP address where the download was fetched from. Copied from
« no previous file with comments | « chrome/browser/download/download_browsertest.cc ('k') | content/browser/download/download_create_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698