-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure last engagement is never regarded as stale in incognito.
This CL addresses a bug where engagement cleanup is continually run in incognito mode because we do not write a pref value for the last engagement. When in incognito, engagement is never regarded as going stale, meaning that cleanup is never run. A test is added to ensure the correct behaviour. The frequency of calls to Clock::Now() is also reduced in this CL. BUG=947835 Change-Id: I7c91caa98a3c7e7c6e39aec314682f382bb2581b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1895097 Auto-Submit: Dominick Ng <dominickn@chromium.org> Reviewed-by: Ben Wells <benwells@chromium.org> Commit-Queue: Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#712035}
- Loading branch information
Dominick Ng
authored and
Commit Bot
committed
Nov 4, 2019
1 parent
8df9b0a
commit 646c758
Showing
2 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters