summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_download_manager_delegate.cc
diff options
context:
space:
mode:
authorahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-17 16:12:58 +0000
committerahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-17 16:12:58 +0000
commit5656f8a3758a37f9bc64e395cad7445b0f38f0d2 (patch)
treecc8295c423a142b49a83793c7e10f7ca706ece49 /content/shell/shell_download_manager_delegate.cc
parentce01428131c7b158090a67e6dce5621ffe9b4b26 (diff)
downloadchromium_src-5656f8a3758a37f9bc64e395cad7445b0f38f0d2.zip
chromium_src-5656f8a3758a37f9bc64e395cad7445b0f38f0d2.tar.gz
chromium_src-5656f8a3758a37f9bc64e395cad7445b0f38f0d2.tar.bz2
Created a DownloadManager interface, for use in unit tests..
Bug=None Test=None Review URL: http://codereview.chromium.org/8351052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_download_manager_delegate.cc')
-rw-r--r--content/shell/shell_download_manager_delegate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/shell/shell_download_manager_delegate.cc b/content/shell/shell_download_manager_delegate.cc
index 718ae3b4..b70bbcd 100644
--- a/content/shell/shell_download_manager_delegate.cc
+++ b/content/shell/shell_download_manager_delegate.cc
@@ -72,7 +72,7 @@ void ShellDownloadManagerDelegate::GenerateFilename(
DownloadStateInfo state,
const FilePath& generated_name) {
if (state.suggested_path.empty()) {
- state.suggested_path = download_manager_->browser_context()->GetPath().
+ state.suggested_path = download_manager_->BrowserContext()->GetPath().
Append(FILE_PATH_LITERAL("Downloads"));
if (!file_util::PathExists(state.suggested_path))
file_util::CreateDirectory(state.suggested_path);