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

Issue 419033007: Limit the window of time a promo can be visible after first view. (Closed)

Created:
6 years, 5 months ago by justincohen
Modified:
6 years, 5 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Limit the window of time a promo can be visible after first view. Notification promos currently have start, end times, and a number of maximum views. However, the length of time a promo can be visible was not capped. This change adds a flag to cap the length of time a promo is visible by max_seconds_. BUG=None Test=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285803

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -1 line) Patch
M chrome/browser/web_resource/notification_promo.h View 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/web_resource/notification_promo.cc View 8 chunks +25 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
justincohen
What do you think of this? Thanks!
6 years, 5 months ago (2014-07-25 15:47:29 UTC) #1
Robert Sesek
This seems reasonable. LGTM. You also need to add the field to the server, though.
6 years, 5 months ago (2014-07-25 17:52:58 UTC) #2
justincohen
The CQ bit was checked by justincohen@chromium.org
6 years, 5 months ago (2014-07-26 12:01:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/justincohen@chromium.org/419033007/1
6 years, 5 months ago (2014-07-26 12:03:53 UTC) #4
commit-bot: I haz the power
6 years, 5 months ago (2014-07-26 20:11:28 UTC) #5
Message was sent while issue was closed.
Change committed as 285803

Powered by Google App Engine
This is Rietveld 408576698