DescriptionAdding more functionality to BudgetDatabase.
The BudgetDatabase now has a clock, which it uses to timestamp budget chunks
with expiration times when an AddBudget is called. (The clock from
BackgroundBudgetService will be removed when it switches to the BudgetDatabase.)
The unit tests were converted to use the new AddBudget instead of SetValue, and
SetValue and GetValue (which did not use the new cache scheme) were removed.
BUG=617971
Committed: https://crrev.com/f8c9343991218892a376c89ae95e2bd9e6a1275a
Cr-Commit-Position: refs/heads/master@{#410364}
Patch Set 1 #
Total comments: 25
Patch Set 2 : Integrated code review comments #Patch Set 3 : Added DCHECK and removed comment. #
Dependent Patchsets: Messages
Total messages: 16 (8 generated)
|