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

Issue 2907613002: Reduce the impact of the push/notification kill switches (Closed)

Created:
3 years, 7 months ago by Peter Beverloo
Modified:
3 years, 5 months ago
Reviewers:
johnme, clamy
CC:
chromium-reviews, Peter Beverloo, jam, johnme+watch_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, picksi1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reduce the impact of the push/notification kill switches Enabling the kill switch today will not just block permission requests and incoming push messages, but it will also cause (potentially mass) unregistrations for websites that receive push messages while it's enabled. This means that there's no clean recovery after disabling it. This CL instead changes Push Messaging to silently drop received messages on the floor whilst a permission kill switch has been enabled. UMA will still be logged in that case. BUG=

Patch Set 1 #

Patch Set 2 : windows fix #

Total comments: 2

Patch Set 3 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -16 lines) Patch
M chrome/browser/push_messaging/push_messaging_browsertest.cc View 3 chunks +47 lines, -0 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_impl.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_impl.cc View 1 2 4 chunks +31 lines, -12 lines 0 comments Download
M content/public/common/push_messaging_status.h View 1 chunk +5 lines, -1 line 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (15 generated)
Peter Beverloo
+johnme, PTAL
3 years, 7 months ago (2017-05-25 17:55:01 UTC) #4
johnme
tl;dr: lgtm Ideally the suspended subscriptions would appear offline to GCM rather than silently consuming ...
3 years, 6 months ago (2017-05-31 13:56:06 UTC) #11
Peter Beverloo
+clamy for trivial //content/public enum addition Thanks John! In general I think of this kill ...
3 years, 6 months ago (2017-06-02 13:43:37 UTC) #15
clamy
3 years, 6 months ago (2017-06-09 14:48:29 UTC) #19
Thanks! content/ lgtm.

Powered by Google App Engine
This is Rietveld 408576698