- Mac: Add CefDownloadManagerDelegate::ChooseDownloadPath implementation (issue #634).

- Persist downloaded files after CEF exits (issue #634).
- Shutdown the DownloadManager when CEF exits.
- Don't show an error message when downloading files with cefclient.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@682 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-06-11 17:35:23 +00:00
parent f79d18d510
commit a782ae94df
7 changed files with 104 additions and 21 deletions

View File

@@ -200,6 +200,9 @@ CefBrowserContext::CefBrowserContext() {
}
CefBrowserContext::~CefBrowserContext() {
if (download_manager_.get())
download_manager_->Shutdown();
if (resource_context_.get()) {
BrowserThread::DeleteSoon(
BrowserThread::IO, FROM_HERE, resource_context_.release());