summaryrefslogtreecommitdiffstats
path: root/src/core/download_manager_delegate_qt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/download_manager_delegate_qt.h')
-rw-r--r--src/core/download_manager_delegate_qt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/download_manager_delegate_qt.h b/src/core/download_manager_delegate_qt.h
index cd21d330c..d23a78b0b 100644
--- a/src/core/download_manager_delegate_qt.h
+++ b/src/core/download_manager_delegate_qt.h
@@ -84,7 +84,7 @@ public:
void cancelDownload(quint32 downloadId);
- void setDownloadType(int downloadType) { m_downloadType = downloadType; }
+ void markNextDownloadAsUserRequested() { m_nextDownloadIsUserRequested = true; }
// Inherited from content::DownloadItem::Observer
void OnDownloadUpdated(content::DownloadItem *download) override;
@@ -97,7 +97,7 @@ private:
uint64_t m_currentId;
base::WeakPtrFactory<DownloadManagerDelegateQt> m_weakPtrFactory;
- int m_downloadType;
+ bool m_nextDownloadIsUserRequested;
friend class DownloadManagerDelegateInstance;
DISALLOW_COPY_AND_ASSIGN(DownloadManagerDelegateQt);