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

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

Issue 11316163: Remove the last usages of PrefObserver outside of Prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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_prefs.cc
diff --git a/chrome/browser/download/download_prefs.cc b/chrome/browser/download/download_prefs.cc
index b6ac5d3a6f6307e02b0aa00328139b192e1822c5..b991c2726e62f8b3a597be31bc452047c25205cc 100644
--- a/chrome/browser/download/download_prefs.cc
+++ b/chrome/browser/download/download_prefs.cc
@@ -39,9 +39,9 @@ using content::DownloadManager;
DownloadPrefs::DownloadPrefs(Profile* profile) : profile_(profile) {
PrefService* prefs = profile->GetPrefs();
- prompt_for_download_.Init(prefs::kPromptForDownload, prefs, NULL);
- download_path_.Init(prefs::kDownloadDefaultDirectory, prefs, NULL);
- save_file_type_.Init(prefs::kSaveFileType, prefs, NULL);
+ prompt_for_download_.Init(prefs::kPromptForDownload, prefs);
+ download_path_.Init(prefs::kDownloadDefaultDirectory, prefs);
+ save_file_type_.Init(prefs::kSaveFileType, prefs);
// We store any file extension that should be opened automatically at
// download completion in this pref.
« no previous file with comments | « chrome/browser/chromeos/proxy_config_service_impl.h ('k') | chrome/browser/download/save_package_file_picker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698