blink/platform: Add periodic decommit to PartitionAlloc.

PartitionAlloc decommit happens at discrete points up to this CL, typically when
renderer memory metrics are collected. This adds a mechanism to post periodic
idle time tasks to trigger the reclaim.
These tasks run on the main thread as this is likely to be more efficient, and they
run during idle time to avoid regressions.

This CL does a few things:
- Add a feature to enable periodic reclaim to evaluate the impact
- Collect total CPU time overhead metrics
- Add PostDelayedIdleTask()

These are together, as the new classes wouldn't have a use case before this CL.
Also fix a couple "git cl lint" warnings.

Bug: 942512
Change-Id: I264b49cb8a0da306957bac1b0f714670b20b2eb9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1593260
Commit-Queue: Benoit L <lizeb@chromium.org>
Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669614}
22 files changed