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

Issue 2439203002: Adding a short blacklist period after every previews opt out (Closed)

Created:
4 years, 2 months ago by RyanSturm
Modified:
4 years, 1 month ago
Reviewers:
tbansal1
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding a short blacklist period after every previews opt out Within a session, if a user opts out of a preview navigation, the user won't be shown any previews for a short duration in that session. This does not extend outside the session because the general rationale behind this is a user temporarily wanting to consume many non-previews navigations consecutively. BUG=656802 Committed: https://crrev.com/960e2c0a2455a4be4e71b9b0923115785bf6cd1e Cr-Commit-Position: refs/heads/master@{#427480}

Patch Set 1 #

Total comments: 14

Patch Set 2 : tbansal comments #

Total comments: 6

Patch Set 3 : rebase #

Patch Set 4 : tbansal commetns #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -2 lines) Patch
M components/previews/core/previews_black_list.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M components/previews/core/previews_black_list.cc View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M components/previews/core/previews_black_list_unittest.cc View 1 5 chunks +73 lines, -0 lines 0 comments Download
M components/previews/core/previews_experiments.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M components/previews/core/previews_experiments.cc View 1 2 2 chunks +17 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 29 (20 generated)
RyanSturm
tbansal: PTAL
4 years, 2 months ago (2016-10-21 22:06:34 UTC) #6
tbansal1
https://codereview.chromium.org/2439203002/diff/1/components/previews/core/previews_black_list.h File components/previews/core/previews_black_list.h (right): https://codereview.chromium.org/2439203002/diff/1/components/previews/core/previews_black_list.h#newcode107 components/previews/core/previews_black_list.h:107: base::Optional<base::Time> last_opt_out_time_; #include base/optional.h https://codereview.chromium.org/2439203002/diff/1/components/previews/core/previews_black_list_unittest.cc File components/previews/core/previews_black_list_unittest.cc (right): https://codereview.chromium.org/2439203002/diff/1/components/previews/core/previews_black_list_unittest.cc#newcode87 ...
4 years, 2 months ago (2016-10-21 23:15:34 UTC) #7
RyanSturm
tbansal: PTAL https://codereview.chromium.org/2439203002/diff/1/components/previews/core/previews_black_list.h File components/previews/core/previews_black_list.h (right): https://codereview.chromium.org/2439203002/diff/1/components/previews/core/previews_black_list.h#newcode107 components/previews/core/previews_black_list.h:107: base::Optional<base::Time> last_opt_out_time_; On 2016/10/21 23:15:33, tbansal1 wrote: ...
4 years, 1 month ago (2016-10-24 21:18:25 UTC) #13
tbansal1
lgtm % nits. https://codereview.chromium.org/2439203002/diff/40001/components/previews/core/previews_black_list.cc File components/previews/core/previews_black_list.cc (right): https://codereview.chromium.org/2439203002/diff/40001/components/previews/core/previews_black_list.cc#newcode11 components/previews/core/previews_black_list.cc:11: #include "base/time/time.h" Remove this include. https://codereview.chromium.org/2439203002/diff/40001/components/previews/core/previews_black_list.cc#newcode97 ...
4 years, 1 month ago (2016-10-25 00:47:41 UTC) #16
RyanSturm
https://codereview.chromium.org/2439203002/diff/40001/components/previews/core/previews_black_list.cc File components/previews/core/previews_black_list.cc (right): https://codereview.chromium.org/2439203002/diff/40001/components/previews/core/previews_black_list.cc#newcode11 components/previews/core/previews_black_list.cc:11: #include "base/time/time.h" On 2016/10/25 00:47:41, tbansal1 wrote: > Remove ...
4 years, 1 month ago (2016-10-25 17:15:38 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/283382)
4 years, 1 month ago (2016-10-25 18:30:31 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2439203002/80001
4 years, 1 month ago (2016-10-25 21:01:59 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 1 month ago (2016-10-25 21:26:33 UTC) #27
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 21:30:44 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/960e2c0a2455a4be4e71b9b0923115785bf6cd1e
Cr-Commit-Position: refs/heads/master@{#427480}

Powered by Google App Engine
This is Rietveld 408576698