Change the default budget expiration window to 4 days from 10 days.

The budget system uses a sliding window which is currently 10 days. That
window is used to set the expiration time for new budget and also to
control how much budget an origin can "save up" for future use.

Based on the UMA data on the updated Site Engagement algorithm in M55,
we can narrow that window while still giving sites an incentive not to
overspend budget.

This CL reduces the window from 10 days to 4 days. It also updates the
relevant tests, in a way that will be more flexible going forward.

BUG=617971

Review-Url: https://codereview.chromium.org/2487073004
Cr-Commit-Position: refs/heads/master@{#431971}
2 files changed