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

Issue 1801113003: Implementation of subscription restrictions. (Closed)

Created:
4 years, 9 months ago by harkness
Modified:
4 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo, johnme+watch_chromium.org, blink-reviews, jam, blink-reviews-api_chromium.org, mvanouwerkerk+watch_chromium.org, dglazkov+blink, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, 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

Implementation of subscription restrictions. Currently, chrome requires that app developers provide a "sender_id" tag in the manifest. This id is generated by the developer console and is not standard for all browsers. In the future, the app developer will be able to specify a public key for their service, which will be registered with the push service and which the push service can use to validate app services requesting to send messages. This is a reland of CL https://codereview.chromium.org/1701313002. The only diff is content/renderer/push_messaging/push_messaging_dispatcher.cc where the request_id is set inside the return. BUG=583753 TBR=avi,mkwst Cr-Commit-Position: refs/heads/master@{#379045} Committed: https://crrev.com/35c378e23dccd1bf2ad7da30bc93ffbb152859ea Cr-Commit-Position: refs/heads/master@{#382268}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -114 lines) Patch
M chrome/browser/push_messaging/push_messaging_browsertest.cc View 7 chunks +45 lines, -4 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_impl.h View 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_impl.cc View 8 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_unittest.cc View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/test/data/push_messaging/push_test.js View 2 chunks +38 lines, -0 lines 0 comments Download
M content/browser/push_messaging/push_messaging_message_filter.h View 2 chunks +8 lines, -8 lines 0 comments Download
M content/browser/push_messaging/push_messaging_message_filter.cc View 9 chunks +27 lines, -23 lines 0 comments Download
M content/child/push_messaging/push_provider.cc View 1 chunk +4 lines, -1 line 0 comments Download
M content/common/push_messaging_messages.h View 3 chunks +9 lines, -4 lines 0 comments Download
M content/public/browser/push_messaging_service.h View 2 chunks +9 lines, -10 lines 0 comments Download
A content/public/common/push_subscription_options.h View 1 chunk +32 lines, -0 lines 0 comments Download
M content/renderer/push_messaging/push_messaging_dispatcher.h View 2 chunks +7 lines, -1 line 0 comments Download
M content/renderer/push_messaging/push_messaging_dispatcher.cc View 1 chunk +40 lines, -23 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_push_messaging_service.h View 2 chunks +4 lines, -4 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_push_messaging_service.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/push_messaging/PushManager.h View 2 chunks +12 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/push_messaging/PushManager.cpp View 5 chunks +42 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/push_messaging/PushManager.idl View 1 chunk +2 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/modules/push_messaging/PushManagerTest.cpp View 1 chunk +68 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/push_messaging/WebPushSubscriptionOptions.h View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
harkness
This is the re-implementation of https://codereview.chromium.org/1701313002/ which was reverted due to a crash. The crash ...
4 years, 9 months ago (2016-03-15 17:45:32 UTC) #2
Peter Beverloo
lgtm
4 years, 9 months ago (2016-03-18 12:35:48 UTC) #3
harkness
TBR=avi,mkwst
4 years, 9 months ago (2016-03-21 10:18:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1801113003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1801113003/1
4 years, 9 months ago (2016-03-21 10:18:55 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-21 11:58:27 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/35c378e23dccd1bf2ad7da30bc93ffbb152859ea Cr-Commit-Position: refs/heads/master@{#382268}
4 years, 9 months ago (2016-03-21 11:59:41 UTC) #13
Avi (use Gerrit)
4 years, 9 months ago (2016-03-21 15:33:04 UTC) #14
Message was sent while issue was closed.
s lgtm

Powered by Google App Engine
This is Rietveld 408576698