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

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

Issue 10535026: Move creation and ownership of DownloadManager from the embedder to content. This matches all the o… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
===================================================================
--- chrome/browser/chromeos/gdata/gdata_system_service.cc (revision 140592)
+++ chrome/browser/chromeos/gdata/gdata_system_service.cc (working copy)
@@ -48,8 +48,7 @@
content::DownloadManager* download_manager =
g_browser_process->download_status_updater() ?
- DownloadServiceFactory::GetForProfile(profile_)->GetDownloadManager() :
- NULL;
+ BrowserContext::GetDownloadManager(profile_) : NULL;
download_observer_->Initialize(
uploader_.get(),
download_manager,

Powered by Google App Engine
This is Rietveld 408576698