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

Issue 1014703007: The platform notification context should observe the Service Worker Context. (Closed)

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

Description

The platform notification context should observe the Service Worker Context. When a Service Worker registration gets dropped, all notifications associated with that notification should be removed as well. Two cases which will be addressed in follow-up patches are when the Service Worker database gets wiped, and granting the notification context the ability to close deleted notifications by itself. Design document: http://goo.gl/TciXVp BUG=447628 Committed: https://crrev.com/f9ec7d0c69f83c869ef7d34d4cb60858be38d4c6 Cr-Commit-Position: refs/heads/master@{#322692}

Patch Set 1 #

Total comments: 18

Patch Set 2 : address comments #

Patch Set 3 : #

Patch Set 4 : add Initialize() #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -19 lines) Patch
M content/browser/notifications/notification_message_filter.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/notifications/notification_message_filter.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/notifications/platform_notification_context_impl.h View 1 2 3 4 5 chunks +40 lines, -4 lines 0 comments Download
M content/browser/notifications/platform_notification_context_impl.cc View 1 2 3 4 chunks +70 lines, -2 lines 0 comments Download
M content/browser/notifications/platform_notification_context_unittest.cc View 1 2 3 4 chunks +103 lines, -2 lines 0 comments Download
M content/browser/storage_partition_impl.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M content/public/browser/platform_notification_context.h View 1 3 chunks +1 line, -5 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
Peter Beverloo
+johnme for notifications
5 years, 9 months ago (2015-03-19 18:06:47 UTC) #2
johnme
https://codereview.chromium.org/1014703007/diff/1/content/browser/notifications/platform_notification_context_impl.cc File content/browser/notifications/platform_notification_context_impl.cc (right): https://codereview.chromium.org/1014703007/diff/1/content/browser/notifications/platform_notification_context_impl.cc#newcode17 content/browser/notifications/platform_notification_context_impl.cc:17: void EmptyFailureCallback() {} Use DoNothing from base/bind_helpers.h instead. https://codereview.chromium.org/1014703007/diff/1/content/browser/notifications/platform_notification_context_impl.cc#newcode57 ...
5 years, 9 months ago (2015-03-20 14:56:36 UTC) #3
Peter Beverloo
+avi for moving lifetime semantics out of the content API, and a few minor additions ...
5 years, 9 months ago (2015-03-20 18:39:06 UTC) #5
Avi (use Gerrit)
I am very much in favor of removing complexity from the API. If the embedder ...
5 years, 9 months ago (2015-03-20 19:05:59 UTC) #6
johnme
On 2015/03/20 18:39:05, Peter Beverloo wrote: > I have moved the RefCountedThreadSafe<> to PlatformNotificationContextImpl and ...
5 years, 9 months ago (2015-03-23 18:34:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1014703007/40001
5 years, 9 months ago (2015-03-27 01:36:04 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/23498)
5 years, 9 months ago (2015-03-27 03:06:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1014703007/80001
5 years, 9 months ago (2015-03-28 00:49:25 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-28 01:37:00 UTC) #16
commit-bot: I haz the power
5 years, 9 months ago (2015-03-28 01:38:24 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f9ec7d0c69f83c869ef7d34d4cb60858be38d4c6
Cr-Commit-Position: refs/heads/master@{#322692}

Powered by Google App Engine
This is Rietveld 408576698