DescriptionReplace MockStatisticsProvider with FakeStatisticsProvider.
MockStatisticsProvider is a typical example of gmock only causing
excess boilerplate and poor readability. This change implements a
proper fake and converts all consumers.
BUG=None
TEST=unit_tests/browser_tests still compile and pass.
Committed: https://crrev.com/6e01d07c5ca1a2b711ca494d2320dbe4423e4ee8
Cr-Commit-Position: refs/heads/master@{#299350}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Add clarifying comments. #Messages
Total messages: 15 (4 generated)
|