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

Issue 2906883003: Deprecate per notification type delegates. (Closed)

Created:
3 years, 7 months ago by Miguel Garcia
Modified:
3 years, 6 months ago
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Deprecate per notification type delegates. Both persistent and non persistent notifications can now be served from the same delegate which in turn proxies all requests to the handlers. BUG=720345 Review-Url: https://codereview.chromium.org/2906883003 Cr-Commit-Position: refs/heads/master@{#478263} Committed: https://chromium.googlesource.com/chromium/src/+/40b10fd5dcb862ce08df81ef5c55c629f64c6394

Patch Set 1 #

Patch Set 2 : Remove page/desktop notification delegates too #

Patch Set 3 : rebase #

Total comments: 12

Patch Set 4 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -485 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/notifications/message_center_display_service.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
D chrome/browser/notifications/notification_object_proxy.h View 1 chunk +0 lines, -51 lines 0 comments Download
D chrome/browser/notifications/notification_object_proxy.cc View 1 chunk +0 lines, -49 lines 0 comments Download
M chrome/browser/notifications/notification_platform_bridge_android.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/notifications/notification_platform_bridge_mac.mm View 1 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/notifications/persistent_notification_delegate.h View 1 chunk +0 lines, -46 lines 0 comments Download
D chrome/browser/notifications/persistent_notification_delegate.cc View 1 chunk +0 lines, -54 lines 0 comments Download
M chrome/browser/notifications/platform_notification_service_impl.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/notifications/platform_notification_service_impl.cc View 1 2 3 5 chunks +5 lines, -24 lines 0 comments Download
M chrome/browser/notifications/platform_notification_service_unittest.cc View 1 8 chunks +14 lines, -60 lines 0 comments Download
M chrome/browser/notifications/web_notification_delegate.h View 1 2 chunks +16 lines, -15 lines 0 comments Download
M chrome/browser/notifications/web_notification_delegate.cc View 1 5 chunks +47 lines, -8 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/notifications/notification_event_dispatcher_impl.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/notifications/notification_message_filter.cc View 1 2 chunks +1 line, -9 lines 0 comments Download
D content/browser/notifications/page_notification_delegate.h View 1 1 chunk +0 lines, -37 lines 0 comments Download
D content/browser/notifications/page_notification_delegate.cc View 1 1 chunk +0 lines, -55 lines 0 comments Download
M content/public/browser/BUILD.gn View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
D content/public/browser/desktop_notification_delegate.h View 1 1 chunk +0 lines, -28 lines 0 comments Download
M content/public/browser/platform_notification_service.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M content/test/mock_platform_notification_service.h View 1 4 chunks +2 lines, -4 lines 0 comments Download
M content/test/mock_platform_notification_service.cc View 1 2 3 8 chunks +21 lines, -33 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
Miguel Garcia
Note to self: The following tests pass now (they use to time out which I ...
3 years, 6 months ago (2017-06-06 12:59:29 UTC) #7
Miguel Garcia
3 years, 6 months ago (2017-06-06 14:01:59 UTC) #11
Peter Beverloo
Cool!! lgtm https://codereview.chromium.org/2906883003/diff/40001/chrome/browser/notifications/web_notification_delegate.cc File chrome/browser/notifications/web_notification_delegate.cc (right): https://codereview.chromium.org/2906883003/diff/40001/chrome/browser/notifications/web_notification_delegate.cc#newcode61 chrome/browser/notifications/web_notification_delegate.cc:61: bool WebNotificationDelegate::ShouldDisplayOverFullscreen() const { I guess these ...
3 years, 6 months ago (2017-06-08 06:48:11 UTC) #14
Miguel Garcia
Thanks! +avi for the content layer
3 years, 6 months ago (2017-06-08 06:51:57 UTC) #16
Avi (use Gerrit)
lgtm stamp
3 years, 6 months ago (2017-06-08 14:49:43 UTC) #17
Miguel Garcia
https://codereview.chromium.org/2906883003/diff/40001/chrome/browser/notifications/web_notification_delegate.cc File chrome/browser/notifications/web_notification_delegate.cc (right): https://codereview.chromium.org/2906883003/diff/40001/chrome/browser/notifications/web_notification_delegate.cc#newcode61 chrome/browser/notifications/web_notification_delegate.cc:61: bool WebNotificationDelegate::ShouldDisplayOverFullscreen() const { On 2017/06/08 06:48:11, Peter Beverloo ...
3 years, 6 months ago (2017-06-09 12:24:52 UTC) #20
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/2906883003/60001
3 years, 6 months ago (2017-06-09 12:24:59 UTC) #21
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 13:54:29 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/40b10fd5dcb862ce08df81ef5c55...

Powered by Google App Engine
This is Rietveld 408576698