forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent site engagement scores from decaying when Chrome isn't in use.
The site engagement service decays origins which have not been accessed in a week. However, if a user isn't using Chrome at all, the decay still occurs. This CL addresses this issue by persisting the last recorded time that any engagement occurred. If too long a period passes (currently 10 days) without *any* engagement, all scores have their last accessed time adjusted to be relative to some number of decay periods prior to now (currently set at 1 decay period), based on their offset to the last known engagement time. BUG=575504 Review-Url: https://codereview.chromium.org/2082953002 Cr-Commit-Position: refs/heads/master@{#402653}
- Loading branch information
dominickn
authored and
Commit bot
committed
Jun 29, 2016
1 parent
e6ea446
commit 709246a
Showing
8 changed files
with
436 additions
and
70 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
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
Oops, something went wrong.