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

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

Issue 20066003: Update notification settings to allow for multiprofile situations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix message_center_unittests Created 7 years, 4 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/message_center_notification_manager.h
diff --git a/chrome/browser/notifications/message_center_notification_manager.h b/chrome/browser/notifications/message_center_notification_manager.h
index 89493a25f657e54a826ee1f6ee2f31bf2f8eec90..8536cd4cae43f7cda905abe023ce9a5cb6db597f 100644
--- a/chrome/browser/notifications/message_center_notification_manager.h
+++ b/chrome/browser/notifications/message_center_notification_manager.h
@@ -32,9 +32,10 @@ class MessageCenterNotificationManager
public message_center::MessageCenter::Delegate,
public message_center::MessageCenterObserver {
public:
- explicit MessageCenterNotificationManager(
+ MessageCenterNotificationManager(
message_center::MessageCenter* message_center,
- PrefService* local_state);
+ PrefService* local_state,
+ scoped_ptr<message_center::NotifierSettingsProvider> settings_provider);
virtual ~MessageCenterNotificationManager();
// NotificationUIManager
@@ -212,7 +213,7 @@ class MessageCenterNotificationManager
base::WeakPtrFactory<MessageCenterNotificationManager> weak_factory_;
#endif
- scoped_ptr<MessageCenterSettingsController> settings_controller_;
+ scoped_ptr<message_center::NotifierSettingsProvider> settings_controller_;
jianli 2013/08/05 20:48:03 Should we rename settings_controller_ to settings
dewittj 2013/08/05 22:42:28 Done.
DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager);
};

Powered by Google App Engine
This is Rietveld 408576698