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

Issue 841333002: Push API: rename registration to subscription. (Closed)

Created:
5 years, 11 months ago by Michael van Ouwerkerk
Modified:
5 years, 11 months ago
CC:
blink-reviews, dglazkov+blink, Miguel Garcia
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Push API: rename registration to subscription. This is in response to this spec issue: https://github.com/w3c/push-api/issues/98 Depends on https://codereview.chromium.org/827083004/ BUG=446883 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188173

Patch Set 1 #

Patch Set 2 : similarity=30 #

Total comments: 10

Patch Set 3 : Address comments. #

Total comments: 4

Patch Set 4 : Use https in the spec link. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -627 lines) Patch
D LayoutTests/http/tests/push_messaging/get_registration.html View 1 chunk +0 lines, -75 lines 0 comments Download
A + LayoutTests/http/tests/push_messaging/get_subscription.html View 1 2 chunks +33 lines, -33 lines 0 comments Download
D LayoutTests/http/tests/push_messaging/register_permission_denied.html View 1 chunk +0 lines, -38 lines 0 comments Download
D LayoutTests/http/tests/push_messaging/register_success.html View 1 chunk +0 lines, -45 lines 0 comments Download
D LayoutTests/http/tests/push_messaging/register_worker_not_activated.html View 1 chunk +0 lines, -37 lines 0 comments Download
A + LayoutTests/http/tests/push_messaging/subscribe_permission_denied.html View 2 chunks +6 lines, -6 lines 0 comments Download
A + LayoutTests/http/tests/push_messaging/subscribe_success.html View 3 chunks +9 lines, -9 lines 0 comments Download
A + LayoutTests/http/tests/push_messaging/subscribe_worker_not_activated.html View 2 chunks +5 lines, -5 lines 0 comments Download
D LayoutTests/http/tests/push_messaging/unregister.html View 1 chunk +0 lines, -55 lines 0 comments Download
A + LayoutTests/http/tests/push_messaging/unsubscribe.html View 1 3 chunks +21 lines, -21 lines 0 comments Download
M Source/modules/modules.gypi View 2 chunks +5 lines, -5 lines 0 comments Download
M Source/modules/push_messaging/PushManager.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/push_messaging/PushManager.cpp View 3 chunks +9 lines, -9 lines 0 comments Download
M Source/modules/push_messaging/PushManager.idl View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
D Source/modules/push_messaging/PushRegistration.h View 1 chunk +0 lines, -44 lines 0 comments Download
D Source/modules/push_messaging/PushRegistration.cpp View 1 chunk +0 lines, -59 lines 0 comments Download
D Source/modules/push_messaging/PushRegistration.idl View 1 chunk +0 lines, -14 lines 0 comments Download
D Source/modules/push_messaging/PushRegistrationCallbacks.h View 1 chunk +0 lines, -41 lines 0 comments Download
D Source/modules/push_messaging/PushRegistrationCallbacks.cpp View 1 chunk +0 lines, -50 lines 0 comments Download
A + Source/modules/push_messaging/PushSubscription.h View 1 2 2 chunks +12 lines, -12 lines 0 comments Download
A + Source/modules/push_messaging/PushSubscription.cpp View 1 2 3 chunks +13 lines, -13 lines 0 comments Download
A + Source/modules/push_messaging/PushSubscription.idl View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
A + Source/modules/push_messaging/PushSubscriptionCallbacks.h View 3 chunks +11 lines, -11 lines 0 comments Download
A + Source/modules/push_messaging/PushSubscriptionCallbacks.cpp View 1 chunk +10 lines, -10 lines 0 comments Download
M public/platform/WebPushClient.h View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M public/platform/WebPushProvider.h View 1 2 1 chunk +9 lines, -5 lines 0 comments Download
M public/platform/WebPushRegistration.h View 1 2 1 chunk +3 lines, -11 lines 0 comments Download
A + public/platform/WebPushSubscription.h View 1 2 1 chunk +7 lines, -7 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
Peter Beverloo
https://codereview.chromium.org/841333002/diff/20001/Source/modules/push_messaging/PushManager.cpp File Source/modules/push_messaging/PushManager.cpp (right): https://codereview.chromium.org/841333002/diff/20001/Source/modules/push_messaging/PushManager.cpp#newcode63 Source/modules/push_messaging/PushManager.cpp:63: pushProvider()->registerPushMessaging(m_registration->webRegistration(), new PushSubscriptionCallbacks(resolver, m_registration)); I presume that you're going ...
5 years, 11 months ago (2015-01-09 16:33:09 UTC) #2
Michael van Ouwerkerk
Thanks Peter, please take another look. https://codereview.chromium.org/841333002/diff/20001/Source/modules/push_messaging/PushManager.cpp File Source/modules/push_messaging/PushManager.cpp (right): https://codereview.chromium.org/841333002/diff/20001/Source/modules/push_messaging/PushManager.cpp#newcode63 Source/modules/push_messaging/PushManager.cpp:63: pushProvider()->registerPushMessaging(m_registration->webRegistration(), new PushSubscriptionCallbacks(resolver, ...
5 years, 11 months ago (2015-01-09 17:11:39 UTC) #3
Michael van Ouwerkerk
Adding Miguel as he seemed interested in this rename.
5 years, 11 months ago (2015-01-09 17:12:22 UTC) #5
Michael van Ouwerkerk
Mike, could you take a look please as platform owner? Thanks!
5 years, 11 months ago (2015-01-09 17:12:44 UTC) #7
Peter Beverloo
lgtm For future renaming patches of similar magnitude, please try to isolate the changes to ...
5 years, 11 months ago (2015-01-09 17:23:23 UTC) #9
Michael van Ouwerkerk
Then maybe don't ask me for changes like http to https :-P Thanks for the ...
5 years, 11 months ago (2015-01-09 17:34:39 UTC) #10
Michael van Ouwerkerk
Dimitri, could you please take a look as owner of public/platform? Mike seems to have ...
5 years, 11 months ago (2015-01-09 19:41:55 UTC) #12
dglazkov
LGTM.
5 years, 11 months ago (2015-01-09 20:19:15 UTC) #13
Michael van Ouwerkerk
Thanks!
5 years, 11 months ago (2015-01-09 20:21:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/841333002/60001
5 years, 11 months ago (2015-01-09 20:22:25 UTC) #16
Mike West
LGTM too, sorry for the belated review. :/
5 years, 11 months ago (2015-01-09 22:22:57 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/45565)
5 years, 11 months ago (2015-01-09 22:27:35 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/841333002/60001
5 years, 11 months ago (2015-01-09 22:33:24 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://src.chromium.org/viewvc/blink?view=rev&revision=188173
5 years, 11 months ago (2015-01-09 23:26:07 UTC) #22
kenneth.christiansen
Shouldn't you update the spec draft as well?
5 years, 11 months ago (2015-01-12 14:44:08 UTC) #23
Peter Beverloo
On 2015/01/12 14:44:08, kenneth.christiansen wrote: > Shouldn't you update the spec draft as well? https://w3c.github.io/push-api/ ...
5 years, 11 months ago (2015-01-12 14:45:04 UTC) #24
Michael van Ouwerkerk
5 years, 11 months ago (2015-01-12 14:47:31 UTC) #25
Message was sent while issue was closed.
On 2015/01/12 14:45:04, Peter Beverloo wrote:
> On 2015/01/12 14:44:08, kenneth.christiansen wrote:
> > Shouldn't you update the spec draft as well?
> 
> https://w3c.github.io/push-api/ is up to date as far as I can see? Did we miss
> anything?

Yes, I think I addressed it in the spec with this pull request:
https://github.com/w3c/push-api/pull/102

Powered by Google App Engine
This is Rietveld 408576698