diff options
Diffstat (limited to 'chrome/browser/ui/webui')
-rw-r--r-- | chrome/browser/ui/webui/downloads_dom_handler.cc | 2 | ||||
-rw-r--r-- | chrome/browser/ui/webui/feedback_ui.cc | 2 | ||||
-rw-r--r-- | chrome/browser/ui/webui/screenshot_source.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/webui/downloads_dom_handler.cc b/chrome/browser/ui/webui/downloads_dom_handler.cc index 514ae7a..d10d8e6 100644 --- a/chrome/browser/ui/webui/downloads_dom_handler.cc +++ b/chrome/browser/ui/webui/downloads_dom_handler.cc @@ -341,7 +341,7 @@ void DownloadsDOMHandler::HandleClearAll(const ListValue* args) { void DownloadsDOMHandler::HandleOpenDownloadsFolder(const ListValue* args) { CountDownloadsDOMEvents(DOWNLOADS_DOM_EVENT_OPEN_FOLDER); platform_util::OpenItem( - DownloadPrefs::FromDownloadManager(download_manager_)->DownloadPath()); + DownloadPrefs::FromDownloadManager(download_manager_)->download_path()); } // DownloadsDOMHandler, private: ---------------------------------------------- diff --git a/chrome/browser/ui/webui/feedback_ui.cc b/chrome/browser/ui/webui/feedback_ui.cc index 83bbe87..96ea099 100644 --- a/chrome/browser/ui/webui/feedback_ui.cc +++ b/chrome/browser/ui/webui/feedback_ui.cc @@ -98,7 +98,7 @@ void GetSavedScreenshots(std::vector<std::string>* saved_screenshots) { DownloadPrefs* download_prefs = DownloadPrefs::FromBrowserContext( ash::Shell::GetInstance()->delegate()->GetCurrentBrowserContext()); FeedbackUI::GetMostRecentScreenshots( - download_prefs->DownloadPath(), + download_prefs->download_path(), saved_screenshots, kMaxSavedScreenshots); } diff --git a/chrome/browser/ui/webui/screenshot_source.cc b/chrome/browser/ui/webui/screenshot_source.cc index 15d0d57..9a7798f 100644 --- a/chrome/browser/ui/webui/screenshot_source.cc +++ b/chrome/browser/ui/webui/screenshot_source.cc @@ -104,7 +104,7 @@ void ScreenshotSource::SendSavedScreenshot(const std::string& screenshot_path, int64 file_size = 0; DownloadPrefs* download_prefs = DownloadPrefs::FromBrowserContext( ash::Shell::GetInstance()->delegate()->GetCurrentBrowserContext()); - FilePath file = download_prefs->DownloadPath().Append(decoded_filename); + FilePath file = download_prefs->download_path().Append(decoded_filename); if (!file_util::GetFileSize(file, &file_size)) { CacheAndSendScreenshot(screenshot_path, request_id, read_bytes); return; |