Extract code that is common to status collectors

Currently this change is a no-op, but it is possible that we need to
change it.

Bug: 827386
Change-Id: I2afc355bdc646cf0136b3d00a9a3d7d46cdaf3a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1558024
Reviewed-by: Aga Wronska <agawronska@chromium.org>
Reviewed-by: Denis Kuznetsov <antrim@chromium.org>
Reviewed-by: Henrique Grandinetti <hgrandinetti@chromium.org>
Reviewed-by: Lutz Justen <ljusten@chromium.org>
Commit-Queue: Marcelo Almeida <marcelocra@chromium.org>
Cr-Commit-Position: refs/heads/master@{#653173}
8 files changed