Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1417)

Unified Diff: chrome/browser/download/download_file_picker_chromeos.cc

Issue 10198003: gdata: Get rid of GetGDataCacheTmpDirectory() and friends (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_file_picker_chromeos.cc
diff --git a/chrome/browser/download/download_file_picker_chromeos.cc b/chrome/browser/download/download_file_picker_chromeos.cc
index 2f3fdc4ab50cbdbb5e17dec3b82a336def6c842b..873299fa3a06712e214d3bd72aa3e846d2414bdf 100644
--- a/chrome/browser/download/download_file_picker_chromeos.cc
+++ b/chrome/browser/download/download_file_picker_chromeos.cc
@@ -69,7 +69,8 @@ void DownloadFilePickerChromeOS::FileSelected(const FilePath& selected_path,
download->SetIsTemporary(true);
const FilePath gdata_tmp_download_dir =
- system_service->file_system()->GetGDataTempDownloadFolderPath();
+ system_service->file_system()->GetCacheDirectoryPath(
+ gdata::GDataRootDirectory::CACHE_TYPE_TMP_DOWNLOADS);
// Swap the gdata path with a local path. Local path must be created
// on the IO thread pool.
« no previous file with comments | « chrome/browser/chromeos/gdata/mock_gdata_file_system.h ('k') | chrome/browser/download/save_package_file_picker_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698