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

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

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/notifications/desktop_notification_service.h
diff --git a/chrome/browser/notifications/desktop_notification_service.h b/chrome/browser/notifications/desktop_notification_service.h
index 39d55d23497524f6fc647d5364c5282e0fc31d72..51aef63432e4131142b0ea66b1f985316d97c701 100644
--- a/chrome/browser/notifications/desktop_notification_service.h
+++ b/chrome/browser/notifications/desktop_notification_service.h
@@ -27,7 +27,6 @@ class ContentSettingsPattern;
class Notification;
class NotificationDelegate;
class NotificationUIManager;
-class PrefRegistrySyncable;
class Profile;
namespace content {
@@ -39,6 +38,10 @@ namespace gfx {
class Image;
}
+namespace user_prefs {
+class PrefRegistrySyncable;
+}
+
// The DesktopNotificationService is an object, owned by the Profile,
// which provides the creation of desktop "toasts" to web pages and workers.
class DesktopNotificationService : public ProfileKeyedService {
@@ -49,7 +52,7 @@ class DesktopNotificationService : public ProfileKeyedService {
};
// Register profile-specific prefs of notifications.
- static void RegisterUserPrefs(PrefRegistrySyncable* prefs);
+ static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* prefs);
DesktopNotificationService(Profile* profile,
NotificationUIManager* ui_manager);
« no previous file with comments | « chrome/browser/net/pref_proxy_config_tracker_impl.cc ('k') | chrome/browser/notifications/desktop_notification_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698