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

Issue 288033014: Remove Notifications Associated with an Extension When the Extension is Unchecked from the Message … (Closed)

Created:
6 years, 7 months ago by robliao
Modified:
6 years, 7 months ago
Reviewers:
dewittj
CC:
chromium-reviews, skare_, rgustafson
Visibility:
Public.

Description

Remove Notifications Associated with an Extension When the Extension is Unchecked from the Message Center Settings Added an observer relationship between MessageCenterImpl and MessageCenterSettingsController so that the notification removal would occur when a user unchecked an extension from the settings view. BUG=304364 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272072

Patch Set 1 #

Patch Set 2 : Add Unit Test #

Patch Set 3 : Mac Fix #

Patch Set 4 : Fix Unit Test That Left Dangling Pointer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -17 lines) Patch
M chrome/browser/notifications/message_center_notification_manager.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/notifications/message_center_settings_controller.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/message_center/cocoa/settings_controller.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/message_center/cocoa/settings_controller.mm View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/message_center/cocoa/tray_view_controller_unittest.mm View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ui/message_center/message_center_impl.h View 4 chunks +11 lines, -1 line 0 comments Download
M ui/message_center/message_center_impl.cc View 5 chunks +39 lines, -14 lines 0 comments Download
M ui/message_center/message_center_impl_unittest.cc View 1 4 chunks +108 lines, -2 lines 0 comments Download
M ui/message_center/notifier_settings.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/message_center/views/notifier_settings_view.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/message_center/views/notifier_settings_view.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
robliao
6 years, 7 months ago (2014-05-16 00:55:44 UTC) #1
dewittj
impl looks good, needs some tests though.
6 years, 7 months ago (2014-05-20 16:32:00 UTC) #2
robliao
On 2014/05/20 16:32:00, dewittj wrote: > impl looks good, needs some tests though. There's currently ...
6 years, 7 months ago (2014-05-20 17:36:14 UTC) #3
dewittj
at least test the new stuff in MessageCenterImpl. If you feel ambitious a test in ...
6 years, 7 months ago (2014-05-20 17:37:51 UTC) #4
robliao
Add Unit Test for removals.
6 years, 7 months ago (2014-05-20 20:49:53 UTC) #5
dewittj
lgtm
6 years, 7 months ago (2014-05-20 20:51:23 UTC) #6
robliao
The CQ bit was checked by robliao@chromium.org
6 years, 7 months ago (2014-05-20 20:54:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/288033014/20001
6 years, 7 months ago (2014-05-20 20:55:36 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-21 02:25:55 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-21 02:43:19 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/7371)
6 years, 7 months ago (2014-05-21 02:43:19 UTC) #11
robliao
The CQ bit was checked by robliao@chromium.org
6 years, 7 months ago (2014-05-21 03:51:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/288033014/20001
6 years, 7 months ago (2014-05-21 03:53:40 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-21 05:22:36 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-21 05:48:57 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/7408)
6 years, 7 months ago (2014-05-21 05:48:58 UTC) #16
robliao
Mac Fix
6 years, 7 months ago (2014-05-21 06:45:11 UTC) #17
robliao
The CQ bit was checked by robliao@chromium.org
6 years, 7 months ago (2014-05-21 06:45:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/288033014/40001
6 years, 7 months ago (2014-05-21 06:45:53 UTC) #19
robliao
The CQ bit was unchecked by robliao@chromium.org
6 years, 7 months ago (2014-05-21 17:10:20 UTC) #20
robliao
Fix Mac Unit Test That Left Dangling Pointer
6 years, 7 months ago (2014-05-21 20:15:28 UTC) #21
robliao
The CQ bit was checked by robliao@chromium.org
6 years, 7 months ago (2014-05-21 20:15:33 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robliao@chromium.org/288033014/80001
6 years, 7 months ago (2014-05-21 20:18:25 UTC) #23
commit-bot: I haz the power
6 years, 7 months ago (2014-05-22 03:38:27 UTC) #24
Message was sent while issue was closed.
Change committed as 272072

Powered by Google App Engine
This is Rietveld 408576698