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

Issue 1931843002: Ship Web Push subscription restrictions (Closed)

Created:
4 years, 7 months ago by Peter Beverloo
Modified:
4 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo, johnme+watch_chromium.org, jam, haraken, mvanouwerkerk+watch_chromium.org, darin-cc_chromium.org, blink-reviews, mkwst+moarreviews-shell_chromium.org, harkness+watch_chromium.org, kinuko+watch, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ship Web Push subscription restrictions This exposes the "applicationServerKey" property when subscribing with the Push API, in which the developer can provide their application server's key per draft-ietf-webpush-vapid. https://tools.ietf.org/html/draft-ietf-webpush-vapid When doing so, Chrome will give them an endpoint for the subscription that supports the Web Push Protocol rather than the proprietary GCM protocol. The endpoint is still provided by GCM. Intent to Ship: https://groups.google.com/a/chromium.org/d/topic/blink-dev/Wo7fimlUUjc/discussion BUG=583753 Committed: https://crrev.com/f3008ae7b25404f8a5d2f4c1699abed5b0ecb1e7 Cr-Commit-Position: refs/heads/master@{#394747}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -43 lines) Patch
M chrome/browser/push_messaging/push_messaging_browsertest.cc View 1 2 4 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_constants.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/push_messaging/push_messaging_constants.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_impl.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_unittest.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/push_messaging/push_messaging_message_filter.h View 1 2 3 chunks +18 lines, -4 lines 0 comments Download
M content/browser/push_messaging/push_messaging_message_filter.cc View 1 2 7 chunks +55 lines, -18 lines 0 comments Download
M content/public/browser/push_messaging_service.h View 1 chunk +4 lines, -4 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_push_messaging_service.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/layout_test/layout_test_push_messaging_service.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 25 (11 generated)
Peter Beverloo
+harkness for review This needs an intent to ship once I verify it with the ...
4 years, 7 months ago (2016-04-28 13:31:07 UTC) #2
harkness
LGTM https://codereview.chromium.org/1931843002/diff/1/content/browser/push_messaging/push_messaging_message_filter.cc File content/browser/push_messaging/push_messaging_message_filter.cc (right): https://codereview.chromium.org/1931843002/diff/1/content/browser/push_messaging/push_messaging_message_filter.cc#newcode85 content/browser/push_messaging/push_messaging_message_filter.cc:85: bool IsApplicationServerKey(const std::string& sender_info) { So, we still ...
4 years, 7 months ago (2016-04-28 15:21:13 UTC) #3
Peter Beverloo
https://codereview.chromium.org/1931843002/diff/1/content/browser/push_messaging/push_messaging_message_filter.cc File content/browser/push_messaging/push_messaging_message_filter.cc (right): https://codereview.chromium.org/1931843002/diff/1/content/browser/push_messaging/push_messaging_message_filter.cc#newcode85 content/browser/push_messaging/push_messaging_message_filter.cc:85: bool IsApplicationServerKey(const std::string& sender_info) { On 2016/04/28 15:21:13, harkness ...
4 years, 7 months ago (2016-04-28 15:22:51 UTC) #4
Michael van Ouwerkerk
lgtm with nit I have a feeling I reviewed 95% of these changes before, is ...
4 years, 7 months ago (2016-04-29 17:21:21 UTC) #5
Peter Beverloo
+avi for content/public/ +rbyers RuntimeEnabledFeatures.in https://codereview.chromium.org/1931843002/diff/20001/third_party/WebKit/LayoutTests/http/tests/push_messaging/application-server-key-standard-endpoint.html File third_party/WebKit/LayoutTests/http/tests/push_messaging/application-server-key-standard-endpoint.html (right): https://codereview.chromium.org/1931843002/diff/20001/third_party/WebKit/LayoutTests/http/tests/push_messaging/application-server-key-standard-endpoint.html#newcode24 third_party/WebKit/LayoutTests/http/tests/push_messaging/application-server-key-standard-endpoint.html:24: async_test(function(test) { On 2016/04/29 ...
4 years, 7 months ago (2016-05-18 17:43:24 UTC) #7
Avi (use Gerrit)
content/public lgtm
4 years, 7 months ago (2016-05-18 18:00:36 UTC) #9
Rick Byers
On 2016/05/18 17:43:24, Peter Beverloo wrote: > +avi for content/public/ > +rbyers RuntimeEnabledFeatures.in RuntimeEnabledFeatures LGTM
4 years, 7 months ago (2016-05-18 18:09:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1931843002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931843002/40001
4 years, 7 months ago (2016-05-18 18:11:40 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/224295)
4 years, 7 months ago (2016-05-18 23:18:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1931843002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931843002/40001
4 years, 7 months ago (2016-05-18 23:45:12 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/224596)
4 years, 7 months ago (2016-05-19 05:37:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1931843002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931843002/40001
4 years, 7 months ago (2016-05-19 11:02:22 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-19 12:28:56 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 12:30:15 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f3008ae7b25404f8a5d2f4c1699abed5b0ecb1e7
Cr-Commit-Position: refs/heads/master@{#394747}

Powered by Google App Engine
This is Rietveld 408576698