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

Issue 687183004: Remove the OnError method from notification delegates. (Closed)

Created:
6 years, 1 month ago by Peter Beverloo
Modified:
6 years, 1 month ago
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, sadrul, nkostylev+watch_chromium.org, derat+watch_chromium.org, tfarina, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, pvalenzuela+watch_chromium.org, darin-cc_chromium.org, zea+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, mkwst+moarreviews-renderer_chromium.org, kalyank, peter+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove the OnError method from notification delegates. OnError was meant to support the "onerror" event for Web Notifications, but it has no call sites. There are a few future use-cases for this event, but those don't concern non-Web Notifications so we don't need this plumbing. BUG=428370 Committed: https://crrev.com/212db6946282a49e675fc604f23e1fe101fcd540 Cr-Commit-Position: refs/heads/master@{#302248}

Patch Set 1 #

Total comments: 1

Patch Set 2 : + Mac's QuitWithAppsController #

Total comments: 3

Patch Set 3 : rebase on top of 684253002 #

Patch Set 4 : address comments #

Patch Set 5 : rebase #

Patch Set 6 : remove my own override.. :-) #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -93 lines) Patch
M chrome/browser/chromeos/file_system_provider/notification_manager.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/notification_manager.cc View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_notification_controller.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_notification_controller.cc View 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/local_discovery/privet_notifications.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/local_discovery/privet_notifications.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/notifications/message_center_notifications_browsertest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/notifications/notification_object_proxy.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/notifications/notification_object_proxy.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/notifications/notification_test_util.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 1 chunk +0 lines, -10 lines 0 comments Download
M content/browser/notifications/page_notification_delegate.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/notifications/page_notification_delegate.cc View 1 2 3 4 5 1 chunk +0 lines, -8 lines 0 comments Download
M content/child/notifications/notification_manager.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/child/notifications/notification_manager.cc View 1 2 3 4 5 6 2 chunks +0 lines, -9 lines 0 comments Download
M content/common/desktop_notification_messages.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/common/platform_notification_messages.h View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M content/public/browser/desktop_notification_delegate.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/notification_provider.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/notification_provider.cc View 2 chunks +0 lines, -10 lines 0 comments Download
M ui/message_center/notification.h View 1 chunk +0 lines, -1 line 0 comments Download
M ui/message_center/notification_delegate.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M ui/message_center/notification_delegate.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
Peter Beverloo
Justin, Jun: I'd like your LGTM before sending this out for (much) broader review. PTAL?
6 years, 1 month ago (2014-10-29 17:00:17 UTC) #2
dewittj
lgtm, thanks for code slaying https://codereview.chromium.org/687183004/diff/1/chrome/browser/chromeos/net/network_portal_notification_controller.cc File chrome/browser/chromeos/net/network_portal_notification_controller.cc (left): https://codereview.chromium.org/687183004/diff/1/chrome/browser/chromeos/net/network_portal_notification_controller.cc#oldcode81 chrome/browser/chromeos/net/network_portal_notification_controller.cc:81: NetworkPortalNotificationController::NOTIFICATION_METRIC_COUNT); Is there a ...
6 years, 1 month ago (2014-10-29 17:11:19 UTC) #3
Peter Beverloo
On 2014/10/29 17:11:19, dewittj wrote: > lgtm, thanks for code slaying > > https://codereview.chromium.org/687183004/diff/1/chrome/browser/chromeos/net/network_portal_notification_controller.cc > ...
6 years, 1 month ago (2014-10-29 17:24:48 UTC) #4
Peter Beverloo
+stevenjb for ash/system/ +thestig for chrome/ +nasko for content/
6 years, 1 month ago (2014-10-29 20:03:00 UTC) #6
stevenjb
ash/system lgtm
6 years, 1 month ago (2014-10-29 20:05:19 UTC) #7
nasko
content/ LGTM
6 years, 1 month ago (2014-10-29 21:29:41 UTC) #8
Lei Zhang
chrome/ lgtm! https://codereview.chromium.org/687183004/diff/20001/chrome/browser/chromeos/net/network_portal_notification_controller.cc File chrome/browser/chromeos/net/network_portal_notification_controller.cc (left): https://codereview.chromium.org/687183004/diff/20001/chrome/browser/chromeos/net/network_portal_notification_controller.cc#oldcode80 chrome/browser/chromeos/net/network_portal_notification_controller.cc:80: NetworkPortalNotificationController::NOTIFICATION_METRIC_ERROR, NotificationMetric is useless with this removal. ...
6 years, 1 month ago (2014-10-29 22:19:26 UTC) #9
Peter Beverloo
Thanks for the reviews! I'll land this after 684253002 lands (already rebased on top of ...
6 years, 1 month ago (2014-10-30 15:02:07 UTC) #10
Lei Zhang
https://codereview.chromium.org/687183004/diff/20001/chrome/browser/chromeos/net/network_portal_notification_controller.cc File chrome/browser/chromeos/net/network_portal_notification_controller.cc (left): https://codereview.chromium.org/687183004/diff/20001/chrome/browser/chromeos/net/network_portal_notification_controller.cc#oldcode80 chrome/browser/chromeos/net/network_portal_notification_controller.cc:80: NetworkPortalNotificationController::NOTIFICATION_METRIC_ERROR, On 2014/10/30 15:02:07, Peter Beverloo wrote: > On ...
6 years, 1 month ago (2014-10-30 19:18:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/687183004/80001
6 years, 1 month ago (2014-10-31 10:11:00 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/30042)
6 years, 1 month ago (2014-10-31 10:21:50 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/687183004/120001
6 years, 1 month ago (2014-10-31 10:28:58 UTC) #17
commit-bot: I haz the power
Committed patchset #7 (id:120001)
6 years, 1 month ago (2014-10-31 11:18:59 UTC) #18
commit-bot: I haz the power
6 years, 1 month ago (2014-10-31 11:19:32 UTC) #19
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/212db6946282a49e675fc604f23e1fe101fcd540
Cr-Commit-Position: refs/heads/master@{#302248}

Powered by Google App Engine
This is Rietveld 408576698