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

Unified Diff: chrome/browser/notifications/notification_prefs_manager.h

Issue 11741003: Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix double registration in Chrome Frame test. 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/notifications/notification_prefs_manager.h
diff --git a/chrome/browser/notifications/notification_prefs_manager.h b/chrome/browser/notifications/notification_prefs_manager.h
index 03856aa37b670913179f049bf3ad06f3d1b5bd1e..07048871314ac695ff313693906ddaf1975a057d 100644
--- a/chrome/browser/notifications/notification_prefs_manager.h
+++ b/chrome/browser/notifications/notification_prefs_manager.h
@@ -7,7 +7,8 @@
#include "chrome/browser/notifications/balloon_collection.h"
-class PrefServiceSimple;
+class PrefService;
+class PrefRegistrySimple;
// This interface is used to access and mutate the preferences related to
// desktop notifications.
@@ -16,7 +17,7 @@ class NotificationPrefsManager {
virtual ~NotificationPrefsManager() {}
// Registers preferences.
- static void RegisterPrefs(PrefServiceSimple* prefs);
+ static void RegisterPrefs(PrefService* prefs, PrefRegistrySimple* registry);
// Gets the preference indicating where notifications should be placed.
virtual BalloonCollection::PositionPreference

Powered by Google App Engine
This is Rietveld 408576698