summaryrefslogtreecommitdiffstats
path: root/src/core/browser_context_adapter_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/browser_context_adapter_client.h')
-rw-r--r--src/core/browser_context_adapter_client.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/browser_context_adapter_client.h b/src/core/browser_context_adapter_client.h
index 32a56bfce..02bee8ed6 100644
--- a/src/core/browser_context_adapter_client.h
+++ b/src/core/browser_context_adapter_client.h
@@ -69,6 +69,13 @@ public:
MimeHtmlSaveFormat
};
+ enum DownloadType {
+ Attachment = 0,
+ DownloadAttribute,
+ UserRequested,
+ SavePage
+ };
+
// Keep in sync with content::DownloadInterruptReason
enum DownloadInterruptReason {
NoReason = 0,
@@ -113,7 +120,7 @@ public:
bool accepted;
bool paused;
bool done;
- bool isSavePageDownload;
+ int downloadType;
int downloadInterruptReason;
};