Notification histograms should be thread-safe statics

These histograms will be counted on the context thread of the
notification, which can differ because notifications are available in
both documents and the various kinds of workers.

The histograms were re-introduced by the following CL:
    https://codereview.chromium.org/1904293003/

BUG=592188

Review-Url: https://codereview.chromium.org/1975803002
Cr-Commit-Position: refs/heads/master@{#393252}
2 files changed