diff options
author | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-12 01:52:21 +0000 |
---|---|---|
committer | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-12 01:52:21 +0000 |
commit | b78d79a574bf2171b3d55b0fcb0274b99b6b0518 (patch) | |
tree | 546b6c5e081928295985973e7be2543a2b69437c /chrome/browser/notifications/message_center_settings_controller.cc | |
parent | 85ac048edc06d358ae5562aaf91e07a44db924a7 (diff) | |
download | chromium_src-b78d79a574bf2171b3d55b0fcb0274b99b6b0518.zip chromium_src-b78d79a574bf2171b3d55b0fcb0274b99b6b0518.tar.gz chromium_src-b78d79a574bf2171b3d55b0fcb0274b99b6b0518.tar.bz2 |
Introduces NotificationBlocker.
This CL replaces the existing blocking code by the new notification
blocker implementations. The new implementation detects the current
status more precisely, and each platform can implement different
blocking behaviors.
BUG=256404, 260060
TEST=covered by new tests
R=dewittj@chromium.org, stevenjb@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23694021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222698 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications/message_center_settings_controller.cc')
-rw-r--r-- | chrome/browser/notifications/message_center_settings_controller.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/notifications/message_center_settings_controller.cc b/chrome/browser/notifications/message_center_settings_controller.cc index e1d017a..e485ed2 100644 --- a/chrome/browser/notifications/message_center_settings_controller.cc +++ b/chrome/browser/notifications/message_center_settings_controller.cc @@ -262,7 +262,7 @@ void MessageCenterSettingsController::GetNotifierList( #if defined(OS_CHROMEOS) const string16 screenshot_name = l10n_util::GetStringUTF16(IDS_MESSAGE_CENTER_NOTIFIER_SCREENSHOT_NAME); - NotifierId screenshot_notifier_id(ash::NOTIFIER_SCREENSHOT); + NotifierId screenshot_notifier_id(ash::system_notifier::NOTIFIER_SCREENSHOT); Notifier* const screenshot_notifier = new Notifier( screenshot_notifier_id, screenshot_name, |