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

Issue 2659533003: Remove the notificationProvider extension API (Closed)

Created:
3 years, 11 months ago by Peter Beverloo
Modified:
3 years, 10 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the notificationProvider extension API The NotificationProvider API was meant to provide a way for Chrome Apps and extensions to take over handling of notifications from the Message Center, for example to defer to the native notification center on a system. However, the API was neither completed, nor shipped. Today we're working on implementing support for native notification centers directly to Chrome, not requiring any additional extension support. This is already supported on Mac and is in development for Windows. This makes an important use-case of the API redundant. Let's remove the API. We can always revisit in the future. BUG=397197, 482733 Review-Url: https://codereview.chromium.org/2659533003 Cr-Commit-Position: refs/heads/master@{#450333} Committed: https://chromium.googlesource.com/chromium/src/+/f9fbe22a90c39cb811e94976923ebff0bc7f939f

Patch Set 1 #

Total comments: 12

Patch Set 2 : Remove the notificationProvider extension API #

Patch Set 3 : Remove the notificationProvider extension API #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -1649 lines) Patch
M chrome/browser/BUILD.gn View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/BUILD.gn View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
D chrome/browser/extensions/api/notification_provider/OWNERS View 1 chunk +0 lines, -2 lines 0 comments Download
D chrome/browser/extensions/api/notification_provider/notification_provider_api.h View 1 chunk +0 lines, -192 lines 0 comments Download
D chrome/browser/extensions/api/notification_provider/notification_provider_api.cc View 1 chunk +0 lines, -310 lines 0 comments Download
D chrome/browser/extensions/api/notification_provider/notification_provider_apitest.cc View 1 chunk +0 lines, -18 lines 0 comments Download
M chrome/browser/extensions/api/notifications/notifications_api.cc View 1 2 11 chunks +68 lines, -9 lines 0 comments Download
M chrome/browser/notifications/message_center_notification_manager.h View 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/notifications/message_center_notification_manager.cc View 1 2 4 chunks +0 lines, -55 lines 0 comments Download
D chrome/browser/notifications/notification_conversion_helper.h View 1 chunk +0 lines, -55 lines 0 comments Download
D chrome/browser/notifications/notification_conversion_helper.cc View 1 chunk +0 lines, -211 lines 0 comments Download
D chrome/browser/notifications/notification_conversion_helper_unittest.cc View 1 chunk +0 lines, -121 lines 0 comments Download
M chrome/common/extensions/api/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
D chrome/common/extensions/api/notification_provider.idl View 1 chunk +0 lines, -149 lines 0 comments Download
M chrome/common/extensions/permissions/chrome_api_permissions.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/extensions/permissions/permission_set_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
D chrome/test/data/extensions/api_test/notification_provider/basic_usage/background.js View 1 chunk +0 lines, -205 lines 0 comments Download
D chrome/test/data/extensions/api_test/notification_provider/basic_usage/icon.png View Binary file 0 comments Download
D chrome/test/data/extensions/api_test/notification_provider/basic_usage/manifest.json View 1 chunk +0 lines, -13 lines 0 comments Download
D chrome/test/data/extensions/api_test/notification_provider/events/icon.png View Binary file 0 comments Download
D chrome/test/data/extensions/api_test/notification_provider/events/manifest.json View 1 chunk +0 lines, -13 lines 0 comments Download
D chrome/test/data/extensions/api_test/notification_provider/events/test.js View 1 chunk +0 lines, -30 lines 0 comments Download
D chrome/test/data/extensions/api_test/notification_provider/test_app/app.js View 1 chunk +0 lines, -10 lines 0 comments Download
D chrome/test/data/extensions/api_test/notification_provider/test_app/main.js View 1 chunk +0 lines, -172 lines 0 comments Download
D chrome/test/data/extensions/api_test/notification_provider/test_app/manifest.json View 1 chunk +0 lines, -14 lines 0 comments Download
D chrome/test/data/extensions/api_test/notification_provider/test_app/styles.css View 1 chunk +0 lines, -12 lines 0 comments Download
D chrome/test/data/extensions/api_test/notification_provider/test_app/window.html View 1 chunk +0 lines, -24 lines 0 comments Download
M extensions/browser/extension_event_histogram_value.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M extensions/common/permissions/api_permission.h View 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 34 (19 generated)
Peter Beverloo
Justin, Pete, I guess this is overdue?
3 years, 11 months ago (2017-01-26 15:40:04 UTC) #4
dewittj
lgtm, thanks for doing some cleanup!
3 years, 11 months ago (2017-01-26 16:59:44 UTC) #5
Peter Beverloo
Thanks Justin! +Devlin for extensions
3 years, 11 months ago (2017-01-26 17:10:04 UTC) #9
Peter Beverloo
Oh, and +isherman for extension_event_histogram_value.h
3 years, 11 months ago (2017-01-26 18:46:26 UTC) #11
Ilya Sherman
https://codereview.chromium.org/2659533003/diff/1/extensions/browser/extension_event_histogram_value.h File extensions/browser/extension_event_histogram_value.h (right): https://codereview.chromium.org/2659533003/diff/1/extensions/browser/extension_event_histogram_value.h#newcode428 extensions/browser/extension_event_histogram_value.h:428: // python tools/metrics/histograms/update_extension_histograms.py ^^^
3 years, 11 months ago (2017-01-26 21:32:52 UTC) #12
Ilya Sherman
https://codereview.chromium.org/2659533003/diff/1/extensions/browser/extension_event_histogram_value.h File extensions/browser/extension_event_histogram_value.h (right): https://codereview.chromium.org/2659533003/diff/1/extensions/browser/extension_event_histogram_value.h#newcode213 extensions/browser/extension_event_histogram_value.h:213: NOTIFICATION_PROVIDER_ON_UPDATED, // unused Sorry, to expand on my previous ...
3 years, 11 months ago (2017-01-26 21:33:41 UTC) #13
Peter Beverloo
https://codereview.chromium.org/2659533003/diff/1/extensions/browser/extension_event_histogram_value.h File extensions/browser/extension_event_histogram_value.h (right): https://codereview.chromium.org/2659533003/diff/1/extensions/browser/extension_event_histogram_value.h#newcode213 extensions/browser/extension_event_histogram_value.h:213: NOTIFICATION_PROVIDER_ON_UPDATED, // unused On 2017/01/26 21:33:41, Ilya Sherman wrote: ...
3 years, 10 months ago (2017-01-27 15:11:22 UTC) #14
Peter Beverloo
3 years, 10 months ago (2017-01-27 15:13:01 UTC) #15
Ilya Sherman
extension_event_histogram_value.h and histograms.xml lgtm
3 years, 10 months ago (2017-01-27 22:56:10 UTC) #20
Devlin
https://codereview.chromium.org/2659533003/diff/1/chrome/browser/extensions/api/notifications/notifications_api.cc File chrome/browser/extensions/api/notifications/notifications_api.cc (right): https://codereview.chromium.org/2659533003/diff/1/chrome/browser/extensions/api/notifications/notifications_api.cc#newcode128 chrome/browser/extensions/api/notifications/notifications_api.cc:128: bool NotificationBitmapToGfxImage( nit: add function level comment https://codereview.chromium.org/2659533003/diff/1/chrome/browser/extensions/api/notifications/notifications_api.cc#newcode131 chrome/browser/extensions/api/notifications/notifications_api.cc:131: ...
3 years, 10 months ago (2017-01-28 02:45:04 UTC) #21
Peter Beverloo
PTAL https://codereview.chromium.org/2659533003/diff/1/chrome/browser/extensions/api/notifications/notifications_api.cc File chrome/browser/extensions/api/notifications/notifications_api.cc (right): https://codereview.chromium.org/2659533003/diff/1/chrome/browser/extensions/api/notifications/notifications_api.cc#newcode128 chrome/browser/extensions/api/notifications/notifications_api.cc:128: bool NotificationBitmapToGfxImage( On 2017/01/28 02:45:03, Devlin (OOO feb ...
3 years, 10 months ago (2017-02-09 16:03:10 UTC) #22
Peter Beverloo
Devlin - friendly ping
3 years, 10 months ago (2017-02-13 14:16:27 UTC) #27
Devlin
On 2017/02/13 14:16:27, Peter Beverloo wrote: > Devlin - friendly ping lgtm! Thanks for the ...
3 years, 10 months ago (2017-02-13 22:43:03 UTC) #28
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/2659533003/40001
3 years, 10 months ago (2017-02-14 12:13:42 UTC) #31
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 13:23:29 UTC) #34
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/f9fbe22a90c39cb811e94976923e...

Powered by Google App Engine
This is Rietveld 408576698