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

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

Issue 12079097: Introduce PrefRegistrySyncable, simplifying PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add to PrefRegistrySyncable and PrefServiceSyncable to let sync know of pre-registered prefs. Created 7 years, 10 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/download_prefs.h
diff --git a/chrome/browser/download/download_prefs.h b/chrome/browser/download/download_prefs.h
index e8dfefbdb27a23f21ebb5c4e379dbfdefe4ea5fd..be6bf507cdd5f2946c0e14c771f406643534749c 100644
--- a/chrome/browser/download/download_prefs.h
+++ b/chrome/browser/download/download_prefs.h
@@ -10,7 +10,8 @@
#include "base/file_path.h"
#include "base/prefs/public/pref_member.h"
-class PrefServiceSyncable;
+class PrefRegistrySyncable;
+class PrefService;
class Profile;
namespace content {
@@ -24,7 +25,8 @@ class DownloadPrefs {
explicit DownloadPrefs(Profile* profile);
~DownloadPrefs();
- static void RegisterUserPrefs(PrefServiceSyncable* prefs);
+ static void RegisterUserPrefs(PrefService* user_prefs,
+ PrefRegistrySyncable* registry);
// Returns the DownloadPrefs corresponding to the given DownloadManager
// or BrowserContext.

Powered by Google App Engine
This is Rietveld 408576698