Removed translate MetricsNameIndex.

The enum is unnecessary and is only used in tests. I've introduced an internal
namespace, but I'm happy to change if there's a more idiomatic approach.

BUG=712922

Review-Url: https://codereview.chromium.org/2825943002
Cr-Commit-Position: refs/heads/master@{#467276}
3 files changed