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

Issue 1395483002: Increase Web Notification timeout to 20 seconds (Closed)

Created:
5 years, 2 months ago by johnme
Modified:
5 years, 2 months ago
Reviewers:
Peter Beverloo, dewittj
CC:
chromium-reviews, asanka, benjhayden+dwatch_chromium.org, peter+watch_chromium.org, mlamouri+watch-notifications_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Increase Web Notification timeout to 20 seconds Data from partners suggests this improves re-engagement. We intend to revisit this in m48 with a Finch experiment. BUG=530697 Committed: https://crrev.com/07e31a310e07d3aa8a07c45670e70e89094317b7 Cr-Commit-Position: refs/heads/master@{#352904}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use constant for delay #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -15 lines) Patch
M chrome/browser/notifications/platform_notification_service_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/message_center/message_center_style.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/message_center/message_center_style.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/message_center/notification.h View 3 chunks +12 lines, -5 lines 1 comment Download
M ui/message_center/notification.cc View 3 chunks +3 lines, -0 lines 0 comments Download
M ui/message_center/popup_timer.cc View 1 2 chunks +9 lines, -10 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (4 generated)
johnme
5 years, 2 months ago (2015-10-07 12:25:19 UTC) #2
dewittj
lgtm One possibility is to rename is_web_notification to use_long_timeouts (something that describes what the flag ...
5 years, 2 months ago (2015-10-07 17:56:40 UTC) #3
johnme
Addressed review comments - thanks :) On 2015/10/07 17:56:40, dewittj wrote: > One possibility is ...
5 years, 2 months ago (2015-10-07 18:18:06 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1395483002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1395483002/20001
5 years, 2 months ago (2015-10-07 18:19:48 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-07 19:14:18 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/07e31a310e07d3aa8a07c45670e70e89094317b7 Cr-Commit-Position: refs/heads/master@{#352904}
5 years, 2 months ago (2015-10-07 19:15:01 UTC) #9
Peter Beverloo
Thank you for picking this up! https://codereview.chromium.org/1395483002/diff/20001/ui/message_center/notification.h File ui/message_center/notification.h (right): https://codereview.chromium.org/1395483002/diff/20001/ui/message_center/notification.h#newcode202 ui/message_center/notification.h:202: optional_fields_.is_web_notification = is_web_notification; ...
5 years, 2 months ago (2015-10-08 07:23:06 UTC) #11
Peter Beverloo
5 years, 2 months ago (2015-10-08 07:25:02 UTC) #12
Message was sent while issue was closed.
On 2015/10/08 07:23:06, Peter Beverloo wrote:
> Thank you for picking this up!
> 
>
https://codereview.chromium.org/1395483002/diff/20001/ui/message_center/notif...
> File ui/message_center/notification.h (right):
> 
>
https://codereview.chromium.org/1395483002/diff/20001/ui/message_center/notif...
> ui/message_center/notification.h:202: optional_fields_.is_web_notification =
> is_web_notification;
> why can't we use notifier_id_type==NotifierId::WEB_PAGE?

(aside from the two features which seem to be using this wrongly :/)

Powered by Google App Engine
This is Rietveld 408576698