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

Unified Diff: chrome/browser/notifications/sync_notifier/welcome_delegate.cc

Issue 231723006: Remove balloon notification code. The last user was the Linux GTK port but that's deleted now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync after elliot's r263101 Created 6 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/sync_notifier/welcome_delegate.cc
===================================================================
--- chrome/browser/notifications/sync_notifier/welcome_delegate.cc (revision 263121)
+++ chrome/browser/notifications/sync_notifier/welcome_delegate.cc (working copy)
@@ -22,12 +22,10 @@
void UpdateMessageCenter() {
NotificationUIManager* notification_ui_manager =
g_browser_process->notification_ui_manager();
- if (notification_ui_manager->DelegatesToMessageCenter()) {
- MessageCenterNotificationManager* message_center_notification_manager =
- static_cast<MessageCenterNotificationManager*>(notification_ui_manager);
+ MessageCenterNotificationManager* message_center_notification_manager =
+ static_cast<MessageCenterNotificationManager*>(notification_ui_manager);
- message_center_notification_manager->EnsureMessageCenterClosed();
- }
+ message_center_notification_manager->EnsureMessageCenterClosed();
}
} // namespace
« no previous file with comments | « chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698