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

Issue 12631017: Remove notifications when apps and OTR Profiles are removed. (Closed)

Created:
7 years, 9 months ago by dewittj
Modified:
7 years, 9 months ago
Reviewers:
Jun Mukai
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Remove notifications when apps and OTR Profiles are removed. This patch modifies DesktopNotificationService so that it doesn't listen for the NOTIFICATION_PROFILE_DESTROYED or NOTIFICATION_APP_UNLOADED messages, instead the NotificationUIManagerImpl now does that directly. Additionally, MessageCenterNotificationManager used IsSameProfile when matching profiles to clear, but that should have been just "==", since we don't want closing an incognito profile to also close all notifications for the parent profile. BUG=196408 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188302

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -57 lines) Patch
M chrome/browser/notifications/desktop_notification_service.h View 4 chunks +1 line, -12 lines 0 comments Download
M chrome/browser/notifications/desktop_notification_service.cc View 3 chunks +1 line, -44 lines 0 comments Download
M chrome/browser/notifications/message_center_notification_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/notification_ui_manager_impl.cc View 3 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
dewittj
7 years, 9 months ago (2013-03-14 23:11:10 UTC) #1
Jun Mukai
lgtm
7 years, 9 months ago (2013-03-15 00:22:32 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dewittj@chromium.org/12631017/1
7 years, 9 months ago (2013-03-15 00:40:57 UTC) #3
commit-bot: I haz the power
7 years, 9 months ago (2013-03-15 08:29:05 UTC) #4
Message was sent while issue was closed.
Change committed as 188302

Powered by Google App Engine
This is Rietveld 408576698