mirror of
https://github.com/electron/electron.git
synced 2026-02-15 09:35:34 -05:00
Chromium crashes when starting a download if a content::DownloadManagerDelegate is not provided. We now provide a default implementation of content::DownloadManagerDelegate which disallows all downloads.
12 lines
186 B
C++
12 lines
186 B
C++
#include "browser/download_manager_delegate.h"
|
|
|
|
namespace brightray {
|
|
|
|
DownloadManagerDelegate::DownloadManagerDelegate() {
|
|
}
|
|
|
|
DownloadManagerDelegate::~DownloadManagerDelegate() {
|
|
}
|
|
|
|
}
|