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

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

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 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/chrome_download_manager_delegate.cc
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc
index 1e314dcb27d960a72a2efb33578899f8e8ecfe56..194346efaeb27e7490c56232e84b9f4dec241d92 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
@@ -139,12 +139,13 @@ void CheckDownloadUrlDone(
// static
void ChromeDownloadManagerDelegate::RegisterUserPrefs(
- PrefRegistrySyncable* registry) {
+ user_prefs::PrefRegistrySyncable* registry) {
const base::FilePath& default_download_path =
download_util::GetDefaultDownloadDirectory();
- registry->RegisterFilePathPref(prefs::kSaveFileDefaultDirectory,
- default_download_path,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterFilePathPref(
+ prefs::kSaveFileDefaultDirectory,
+ default_download_path,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
ChromeDownloadManagerDelegate::ChromeDownloadManagerDelegate(Profile* profile)
« no previous file with comments | « chrome/browser/download/chrome_download_manager_delegate.h ('k') | chrome/browser/download/download_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698