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

Issue 1021293002: Have the browser process confirm creation of a persistent notification. (Closed)

Created:
5 years, 9 months ago by Peter Beverloo
Modified:
5 years, 9 months ago
Reviewers:
johnme, Mike West
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@n-db-BlowAway
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Have the browser process confirm creation of a persistent notification. There are two reasons why this is going to be important: (1) With a database in the display path, there are failure cases. (2) After the SWR.showNotification() promise resolves, the developer should be able to assume it's included in SWR.getNotifications(). The browser process confirming display of the notification enables these cases to be implemented reliably. BUG=447628 Committed: https://crrev.com/1bca63ecfb185e669d10ece2920d8b4d56dba925 Cr-Commit-Position: refs/heads/master@{#322711}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -5 lines) Patch
M content/browser/notifications/notification_message_filter.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/notifications/notification_message_filter.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/child/notifications/notification_manager.h View 2 chunks +5 lines, -0 lines 0 comments Download
M content/child/notifications/notification_manager.cc View 3 chunks +27 lines, -4 lines 0 comments Download
M content/common/platform_notification_messages.h View 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
Peter Beverloo
+johnme for notifications +mkwst for IPC With the CHECK in place in NotificationDispatcher this is ...
5 years, 9 months ago (2015-03-20 18:14:36 UTC) #2
Mike West
IPC LGTM.
5 years, 9 months ago (2015-03-21 11:35:51 UTC) #3
johnme
notifications lgtm with comment https://codereview.chromium.org/1021293002/diff/1/content/browser/notifications/notification_message_filter.cc File content/browser/notifications/notification_message_filter.cc (right): https://codereview.chromium.org/1021293002/diff/1/content/browser/notifications/notification_message_filter.cc#newcode127 content/browser/notifications/notification_message_filter.cc:127: if (!VerifyNotificationPermissionGranted(service, origin)) Shouldn't this ...
5 years, 9 months ago (2015-03-23 18:49:01 UTC) #4
Peter Beverloo
Thank you for the reviews! :) https://codereview.chromium.org/1021293002/diff/1/content/browser/notifications/notification_message_filter.cc File content/browser/notifications/notification_message_filter.cc (right): https://codereview.chromium.org/1021293002/diff/1/content/browser/notifications/notification_message_filter.cc#newcode127 content/browser/notifications/notification_message_filter.cc:127: if (!VerifyNotificationPermissionGranted(service, origin)) ...
5 years, 9 months ago (2015-03-28 21:22:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021293002/20001
5 years, 9 months ago (2015-03-28 21:54:09 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-28 23:15:16 UTC) #9
commit-bot: I haz the power
5 years, 9 months ago (2015-03-28 23:15:57 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1bca63ecfb185e669d10ece2920d8b4d56dba925
Cr-Commit-Position: refs/heads/master@{#322711}

Powered by Google App Engine
This is Rietveld 408576698