DescriptionFull hookup of BudgetManager interfaces to BudgetDatabase.
This includes changing the GetBudgetDetails on BudgetDatabase to use the mojo
types and plumbing the result through the BudgetManager. It pulls out all of
the old implementation in BudetManager that used the prefs to store data
(although cleanup of that isn't quite complete). It also replaces the old
GetBudget/StoreBudget calls in the push messaging system with the new Consume
call.
Tests were added in BudgetManager for the new reserve functionality, and any
tests of GetBudget that were still applicable were moved from BudgetManager
to BudgetDatabase.
BUG=617971
Committed: https://crrev.com/6f6b4143aa82b7876a8a0678e2cabb7074031ee5
Cr-Commit-Position: refs/heads/master@{#417236}
Patch Set 1 #
Total comments: 19
Patch Set 2 : Added prefs cleanup and code review nits #Patch Set 3 : Merge branch 'manager' into connections #Patch Set 4 : Fixed hang and cleaned up browsertests #
Total comments: 16
Patch Set 5 : Moved UMA tests to budget_database_unittest and fixed code review nits. #
Total comments: 1
Patch Set 6 : Rebase and integrate with Reserve plumbing and new error type parameter. #
Total comments: 4
Patch Set 7 : nits #Depends on Patchset: Messages
Total messages: 39 (28 generated)
|