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

Issue 2344983003: Merge the code paths for closing different kinds of notifications. (Closed)

Created:
4 years, 3 months ago by Peter Beverloo
Modified:
4 years, 2 months ago
CC:
chromium-reviews, awdf+watch_chromium.org, Peter Beverloo, mlamouri+watch-notifications_chromium.org, jam, haraken, dglazkov+blink, darin-cc_chromium.org, asvitkine+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Merge the code paths for closing different kinds of notifications. BUG= Committed: https://crrev.com/2d0f25366dfd49e463110059e5b5675a05ffb645 Cr-Commit-Position: refs/heads/master@{#425682}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Merge the close methods #

Total comments: 12

Patch Set 3 : rebase #

Total comments: 1

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -170 lines) Patch
M content/browser/bad_message.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/notifications/notification_message_filter.h View 1 chunk +3 lines, -6 lines 0 comments Download
M content/browser/notifications/notification_message_filter.cc View 4 chunks +34 lines, -38 lines 0 comments Download
M content/browser/notifications/page_notification_delegate.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M content/child/notifications/notification_manager.h View 3 chunks +16 lines, -22 lines 0 comments Download
M content/child/notifications/notification_manager.cc View 1 2 5 chunks +62 lines, -54 lines 0 comments Download
M content/common/platform_notification_messages.h View 2 chunks +7 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.h View 1 2 3 2 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.cpp View 1 2 3 4 3 chunks +29 lines, -21 lines 0 comments Download
M third_party/WebKit/public/platform/modules/notifications/WebNotificationDelegate.h View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h View 1 2 1 chunk +4 lines, -7 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (18 generated)
Peter Beverloo
+harkness for initial review https://codereview.chromium.org/2344983003/diff/1/content/child/notifications/notification_manager.cc File content/child/notifications/notification_manager.cc (right): https://codereview.chromium.org/2344983003/diff/1/content/child/notifications/notification_manager.cc#newcode203 content/child/notifications/notification_manager.cc:203: blink::WebNotificationDelegate* delegate) { I'm not ...
4 years, 3 months ago (2016-09-16 16:51:21 UTC) #2
harkness
lgtm https://codereview.chromium.org/2344983003/diff/1/content/browser/notifications/notification_message_filter.cc File content/browser/notifications/notification_message_filter.cc (right): https://codereview.chromium.org/2344983003/diff/1/content/browser/notifications/notification_message_filter.cc#newcode320 content/browser/notifications/notification_message_filter.cc:320: if (NotificationIdGenerator::IsPersistentNotification(notification_id)) { Is this one of the ...
4 years, 3 months ago (2016-09-23 15:23:25 UTC) #7
Peter Beverloo
Thanks Jen! John, WDYT? https://codereview.chromium.org/2344983003/diff/1/content/browser/notifications/notification_message_filter.cc File content/browser/notifications/notification_message_filter.cc (right): https://codereview.chromium.org/2344983003/diff/1/content/browser/notifications/notification_message_filter.cc#newcode320 content/browser/notifications/notification_message_filter.cc:320: if (NotificationIdGenerator::IsPersistentNotification(notification_id)) { On 2016/09/23 ...
4 years, 3 months ago (2016-09-23 15:28:34 UTC) #10
johnme
lgtm with nits https://codereview.chromium.org/2344983003/diff/20001/content/child/notifications/notification_manager.cc File content/child/notifications/notification_manager.cc (right): https://codereview.chromium.org/2344983003/diff/20001/content/child/notifications/notification_manager.cc#newcode232 content/child/notifications/notification_manager.cc:232: IPC_MESSAGE_HANDLER(PlatformNotificationMsg_DidClick, OnDidClick) Why did you reorder ...
4 years, 3 months ago (2016-09-23 16:14:59 UTC) #11
Peter Beverloo
+nasko for //content and IPC +isherman for histograms https://codereview.chromium.org/2344983003/diff/20001/content/child/notifications/notification_manager.cc File content/child/notifications/notification_manager.cc (right): https://codereview.chromium.org/2344983003/diff/20001/content/child/notifications/notification_manager.cc#newcode232 content/child/notifications/notification_manager.cc:232: IPC_MESSAGE_HANDLER(PlatformNotificationMsg_DidClick, ...
4 years, 2 months ago (2016-10-04 10:27:23 UTC) #16
Ilya Sherman
histograms.xml lgtm
4 years, 2 months ago (2016-10-05 00:32:24 UTC) #21
nasko
LGTM https://codereview.chromium.org/2344983003/diff/60001/content/browser/bad_message.h File content/browser/bad_message.h (right): https://codereview.chromium.org/2344983003/diff/60001/content/browser/bad_message.h#newcode164 content/browser/bad_message.h:164: NMF_INVALID_ID_CLOSE = 140, You are racing another CL ...
4 years, 2 months ago (2016-10-05 20:14:04 UTC) #22
Peter Beverloo
Thanks! We're plenty past branch point; landing this now.
4 years, 2 months ago (2016-10-17 13:25:01 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2344983003/100001
4 years, 2 months ago (2016-10-17 13:26:28 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 2 months ago (2016-10-17 15:19:16 UTC) #27
commit-bot: I haz the power
4 years, 2 months ago (2016-10-17 15:21:42 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2d0f25366dfd49e463110059e5b5675a05ffb645
Cr-Commit-Position: refs/heads/master@{#425682}

Powered by Google App Engine
This is Rietveld 408576698