summaryrefslogtreecommitdiffstats
path: root/ui/message_center/notifier_settings.h
diff options
context:
space:
mode:
authormukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-04 20:32:46 +0000
committermukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-04 20:32:46 +0000
commit2ca96fab8ecb2f8e9315aa8fc63d0bb9ffef47a6 (patch)
tree2795c86a208af9c22eee0a0d1a101261eddcf706 /ui/message_center/notifier_settings.h
parente4f4e7364c46d6fd664490c98acfb6f2daa23791 (diff)
downloadchromium_src-2ca96fab8ecb2f8e9315aa8fc63d0bb9ffef47a6.zip
chromium_src-2ca96fab8ecb2f8e9315aa8fc63d0bb9ffef47a6.tar.gz
chromium_src-2ca96fab8ecb2f8e9315aa8fc63d0bb9ffef47a6.tar.bz2
Stores notification settings into disk.
The availability of sending notification from extensions would be stored into pref service, and that information will be in DesktopNotificationService. A big TODO is to prevent the notification from the disabled extensions. This will be done in another CL. BUG=161094 Review URL: https://chromiumcodereview.appspot.com/12047108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180500 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/message_center/notifier_settings.h')
-rw-r--r--ui/message_center/notifier_settings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/message_center/notifier_settings.h b/ui/message_center/notifier_settings.h
index ec4451d..2a80342 100644
--- a/ui/message_center/notifier_settings.h
+++ b/ui/message_center/notifier_settings.h
@@ -56,7 +56,7 @@ class MESSAGE_CENTER_EXPORT NotifierSettingsView
// Called when the |enabled| for the |id| has been changed by user
// operation.
- virtual void SetNotifierEnabled(const std::string& id, bool enabled) = 0;
+ virtual void SetNotifierEnabled(const Notifier& notifier, bool enabled) = 0;
// Called when the settings window is closed.
virtual void OnNotifierSettingsClosing(NotifierSettingsView* view) = 0;