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

Issue 1134733006: Push API: use (un)subscription instead of (un)registration (Closed)

Created:
5 years, 7 months ago by Pranay
Modified:
5 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, johnme+watch_chromium.org, mvanouwerkerk+watch_chromium.org, peter+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Push API: use of (un)subscription instead of (un)registration BUG=446883 This is in response to this spec issue: https://github.com/w3c/push-api/issues/98 Committed: https://crrev.com/078aae8c35295ce939b8eb6dba2e2990fe422826 Cr-Commit-Position: refs/heads/master@{#331062}

Patch Set 1 #

Patch Set 2 : Updated Patch Set #

Total comments: 1

Patch Set 3 : Updated patch set 2 #

Total comments: 56

Patch Set 4 : Fixed Review Comments #

Total comments: 2

Patch Set 5 : Fixed Review Comments 2 #

Total comments: 18

Patch Set 6 : Fixed Review Comments 3 #

Patch Set 7 : Fixed pre-submit warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -248 lines) Patch
M chrome/browser/push_messaging/push_messaging_service_impl.h View 1 2 3 4 5 6 chunks +21 lines, -21 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_impl.cc View 1 2 3 4 5 17 chunks +76 lines, -79 lines 0 comments Download
M content/browser/push_messaging/push_messaging_message_filter.h View 1 2 3 4 5 2 chunks +14 lines, -14 lines 0 comments Download
M content/browser/push_messaging/push_messaging_message_filter.cc View 1 2 3 4 5 6 10 chunks +37 lines, -37 lines 0 comments Download
M content/child/push_messaging/push_dispatcher.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M content/child/push_messaging/push_provider.h View 1 2 3 4 5 1 chunk +9 lines, -8 lines 0 comments Download
M content/child/push_messaging/push_provider.cc View 1 2 3 4 5 6 chunks +18 lines, -18 lines 0 comments Download
M content/common/push_messaging_messages.h View 1 2 3 3 chunks +13 lines, -13 lines 0 comments Download
M content/public/browser/push_messaging_service.h View 1 2 3 2 chunks +24 lines, -24 lines 0 comments Download
M content/public/browser/push_messaging_service.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/push_messaging/push_messaging_dispatcher.h View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M content/renderer/push_messaging/push_messaging_dispatcher.cc View 1 2 3 5 chunks +11 lines, -11 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_push_messaging_service.h View 1 2 3 3 chunks +6 lines, -6 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_push_messaging_service.cc View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 40 (10 generated)
Pranay
mvanouwerkerk@chromium.org: Please review changes in chrome/browser/push_messaging davidben@chromium.org: Please review changes in content
5 years, 7 months ago (2015-05-13 12:59:51 UTC) #2
Peter Beverloo
+1 to renaming registration -> subscription, but I would like to know a little bit ...
5 years, 7 months ago (2015-05-13 13:18:49 UTC) #4
Pranay
Hi Peter, Thanks for your feedback. Sure, i would like to take the responsibility ahead ...
5 years, 7 months ago (2015-05-14 13:56:33 UTC) #5
Peter Beverloo
On 2015/05/14 13:56:33, Pranay wrote: > Hi Peter, > Thanks for your feedback. Sure, i ...
5 years, 7 months ago (2015-05-14 14:01:59 UTC) #6
Pranay
Sure Peter, Thanks for the info about naming convention. I'll update this patch soon
5 years, 7 months ago (2015-05-15 04:15:03 UTC) #7
Pranay
dcheng@chromium.org: Please review changes in content/common
5 years, 7 months ago (2015-05-15 09:50:36 UTC) #9
Pranay
https://codereview.chromium.org/1134733006/diff/20001/chrome/browser/push_messaging/push_messaging_service_impl.h File chrome/browser/push_messaging/push_messaging_service_impl.h (left): https://codereview.chromium.org/1134733006/diff/20001/chrome/browser/push_messaging/push_messaging_service_impl.h#oldcode121 chrome/browser/push_messaging/push_messaging_service_impl.h:121: void RegisterEnd( Based upon the usage, references & & ...
5 years, 7 months ago (2015-05-15 10:15:19 UTC) #10
Pranay
PTAL, have tried to cover up maximum changes related to a single file in latest ...
5 years, 7 months ago (2015-05-15 10:18:05 UTC) #11
Peter Beverloo
Thanks for the patch! I've got a series of nits and a few questions. https://codereview.chromium.org/1134733006/diff/40001/chrome/browser/push_messaging/push_messaging_service_impl.cc ...
5 years, 7 months ago (2015-05-18 12:44:38 UTC) #12
Pranay
Hi Peter, Updated the Patch, sorry for all the indentation nits. Will be careful onwards ...
5 years, 7 months ago (2015-05-19 04:40:40 UTC) #13
Peter Beverloo
lgtm, thanks! At some point we should do a similar clean-up for int64 -> int64_t, ...
5 years, 7 months ago (2015-05-19 10:40:52 UTC) #14
Pranay
Sure, we would do int64 changes later on, Thanks for the LGTM :) https://codereview.chromium.org/1134733006/diff/60001/content/browser/push_messaging/push_messaging_message_filter.cc File ...
5 years, 7 months ago (2015-05-19 10:49:33 UTC) #15
Pranay
Hi David, Please review changes in content folder Thanks -Pranay
5 years, 7 months ago (2015-05-19 10:52:05 UTC) #16
dcheng
https://codereview.chromium.org/1134733006/diff/80001/chrome/browser/push_messaging/push_messaging_service_impl.cc File chrome/browser/push_messaging/push_messaging_service_impl.cc (right): https://codereview.chromium.org/1134733006/diff/80001/chrome/browser/push_messaging/push_messaging_service_impl.cc#newcode258 chrome/browser/push_messaging/push_messaging_service_impl.cc:258: message_handled_closure)); This formatting is wrong. Usually I'd recommend just ...
5 years, 7 months ago (2015-05-19 19:57:08 UTC) #17
dcheng
(Sorry, I forgot to add: IPC changes LGTM)
5 years, 7 months ago (2015-05-19 19:57:22 UTC) #18
davidben
https://codereview.chromium.org/1134733006/diff/80001/chrome/browser/push_messaging/push_messaging_service_impl.cc File chrome/browser/push_messaging/push_messaging_service_impl.cc (right): https://codereview.chromium.org/1134733006/diff/80001/chrome/browser/push_messaging/push_messaging_service_impl.cc#newcode294 chrome/browser/push_messaging/push_messaging_service_impl.cc:294: // Subscribe and GetPermissionStatus methods ------------------------------------ 80 character column ...
5 years, 7 months ago (2015-05-19 20:10:28 UTC) #19
Pranay
Hi David & Dcheng, Thanks for the review. Have updated the patch, PTAL -Pranay https://codereview.chromium.org/1134733006/diff/80001/chrome/browser/push_messaging/push_messaging_service_impl.cc ...
5 years, 7 months ago (2015-05-20 03:51:57 UTC) #20
Peter Beverloo
How did you upload the patch with lines that are longer than 80 characters? You ...
5 years, 7 months ago (2015-05-20 10:45:47 UTC) #21
Pranay
Hi Peter, Apologies for the same. Actually i was facing a problem with pre-submit. While ...
5 years, 7 months ago (2015-05-20 11:05:09 UTC) #22
Peter Beverloo
On 2015/05/20 11:05:09, Pranay wrote: > Hi Peter, > Apologies for the same. Actually i ...
5 years, 7 months ago (2015-05-20 11:15:27 UTC) #23
davidben
lgtm
5 years, 7 months ago (2015-05-20 20:40:54 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134733006/100001
5 years, 7 months ago (2015-05-21 02:48:34 UTC) #27
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/65135)
5 years, 7 months ago (2015-05-21 02:58:54 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134733006/120001
5 years, 7 months ago (2015-05-21 13:50:15 UTC) #32
Pranay
Hi Peter, Sure, though have been following "gclient sync". Thanks :) Will mail you if ...
5 years, 7 months ago (2015-05-21 13:54:21 UTC) #33
Pranay
Fixed one presubmit nit, checking CQ bit
5 years, 7 months ago (2015-05-21 13:54:51 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/78963)
5 years, 7 months ago (2015-05-21 17:18:11 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134733006/120001
5 years, 7 months ago (2015-05-22 03:56:38 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 7 months ago (2015-05-22 04:00:40 UTC) #39
commit-bot: I haz the power
5 years, 7 months ago (2015-05-22 04:01:23 UTC) #40
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/078aae8c35295ce939b8eb6dba2e2990fe422826
Cr-Commit-Position: refs/heads/master@{#331062}

Powered by Google App Engine
This is Rietveld 408576698