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

Unified Diff: chrome/browser/chromeos/gdata/gdata_system_service.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/chromeos/gdata/gdata_system_service.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_system_service.cc b/chrome/browser/chromeos/gdata/gdata_system_service.cc
index 0cd23a0e5ea2b82f36e6a3014b82f007dd5abeeb..2c488067b81b8ebdf72e589a4405e7386a0fd611 100644
--- a/chrome/browser/chromeos/gdata/gdata_system_service.cc
+++ b/chrome/browser/chromeos/gdata/gdata_system_service.cc
@@ -44,8 +44,11 @@ void GDataSystemService::Initialize() {
g_browser_process->download_status_updater() ?
DownloadServiceFactory::GetForProfile(profile_)->GetDownloadManager() :
NULL;
- download_observer_->Initialize(uploader_.get(), download_manager,
- file_system_->GetGDataTempDownloadFolderPath());
+ download_observer_->Initialize(
+ uploader_.get(),
+ download_manager,
+ file_system_->GetCacheDirectoryPath(
+ GDataRootDirectory::CACHE_TYPE_TMP_DOWNLOADS));
sync_client_->Initialize();
}
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_sync_client_unittest.cc ('k') | chrome/browser/chromeos/gdata/gdata_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698