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

Unified Diff: chrome/browser/chromeos/gdata/gdata_system_service.cc

Issue 10759007: gdata: Move GDataFileSystem::AddUploadedFile() call out of uploader and into GDataDownloadObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments for Patch #10. Created 8 years, 5 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 fd7f7f14e9fd9a7b98c47d5d3d916b020acfefec..cf4ae4337146a0ddb3b5d1b88e50f9b633324be5 100644
--- a/chrome/browser/chromeos/gdata/gdata_system_service.cc
+++ b/chrome/browser/chromeos/gdata/gdata_system_service.cc
@@ -46,7 +46,7 @@ GDataSystemService::GDataSystemService(Profile* profile)
uploader(),
webapps_registry(),
sequence_token_)),
- download_observer_(new GDataDownloadObserver),
+ download_observer_(new GDataDownloadObserver(uploader(), file_system())),
sync_client_(new GDataSyncClient(profile, file_system(), cache())) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
@@ -71,7 +71,6 @@ void GDataSystemService::Initialize() {
g_browser_process->download_status_updater() ?
BrowserContext::GetDownloadManager(profile_) : NULL;
download_observer_->Initialize(
- uploader_.get(),
download_manager,
cache_->GetCacheDirectoryPath(
GDataCache::CACHE_TYPE_TMP_DOWNLOADS));

Powered by Google App Engine
This is Rietveld 408576698