Replace base::MockTimer with behavior-specific timers in //components

This CL replaces MockTimer with MockOneShotTimer or MockRepeatingTimer
as a preparation of OnceCallback support of base::Timer.

Bug: 850247
Change-Id: Ibe313bbf292c269b67782c169af173859c353db7
Reviewed-on: https://chromium-review.googlesource.com/1111482
Reviewed-by: Gabriel Charette <[email protected]>
Reviewed-by: Colin Blundell <[email protected]>
Commit-Queue: Taiju Tsuiki <[email protected]>
Cr-Commit-Position: refs/heads/master@{#571834}
14 files changed