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

Issue 2878363004: If users clear history, the previews recency rule should be cleared (Closed)

Created:
3 years, 7 months ago by RyanSturm
Modified:
3 years, 7 months ago
Reviewers:
bengr
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

If users clear history, the previews recency rule should be cleared When a user clears a chunk of history, the recency rule (previews aren't shown for ~5 minutes after an opt out). Should be reset if the chunk of history is longer than 5 minutes. BUG=722436 Review-Url: https://codereview.chromium.org/2878363004 Cr-Commit-Position: refs/heads/master@{#474890} Committed: https://chromium.googlesource.com/chromium/src/+/4cd77228276c278c78ff13639d319fd9e7198752

Patch Set 1 #

Total comments: 7

Patch Set 2 : bengr comments #

Total comments: 1

Patch Set 3 : re-wrote test suite #

Unified diffs Side-by-side diffs Delta from patch set Stats (+335 lines, -338 lines) Patch
M components/previews/core/previews_black_list.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M components/previews/core/previews_black_list_unittest.cc View 1 2 6 chunks +327 lines, -338 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
RyanSturm
bengr: PTAL, I noticed this while playing with client-side Lo-Fi this morning. It does not ...
3 years, 7 months ago (2017-05-15 18:21:47 UTC) #4
bengr
https://codereview.chromium.org/2878363004/diff/1/components/previews/core/previews_black_list.cc File components/previews/core/previews_black_list.cc (right): https://codereview.chromium.org/2878363004/diff/1/components/previews/core/previews_black_list.cc#newcode156 components/previews/core/previews_black_list.cc:156: void PreviewsBlackList::ClearBlackListSync(base::Time begin_time, How robust is your blacklist logic ...
3 years, 7 months ago (2017-05-15 21:15:14 UTC) #5
RyanSturm
https://codereview.chromium.org/2878363004/diff/1/components/previews/core/previews_black_list.cc File components/previews/core/previews_black_list.cc (right): https://codereview.chromium.org/2878363004/diff/1/components/previews/core/previews_black_list.cc#newcode156 components/previews/core/previews_black_list.cc:156: void PreviewsBlackList::ClearBlackListSync(base::Time begin_time, On 2017/05/15 21:15:14, bengr wrote: > ...
3 years, 7 months ago (2017-05-15 21:58:59 UTC) #8
bengr
https://codereview.chromium.org/2878363004/diff/1/components/previews/core/previews_black_list.cc File components/previews/core/previews_black_list.cc (right): https://codereview.chromium.org/2878363004/diff/1/components/previews/core/previews_black_list.cc#newcode156 components/previews/core/previews_black_list.cc:156: void PreviewsBlackList::ClearBlackListSync(base::Time begin_time, On 2017/05/15 21:58:58, RyanSturm wrote: > ...
3 years, 7 months ago (2017-05-16 17:06:37 UTC) #11
RyanSturm
bengr: PTAL
3 years, 7 months ago (2017-05-23 21:54:22 UTC) #14
bengr
lgtm
3 years, 7 months ago (2017-05-25 23:39:34 UTC) #17
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/2878363004/40001
3 years, 7 months ago (2017-05-26 00:18:12 UTC) #19
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 02:59:45 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/4cd77228276c278c78ff13639d31...

Powered by Google App Engine
This is Rietveld 408576698