Callback for _ProcessHistogram.

def _CompressHistogram(self, histo_ev):
    """Callback for _ProcessHistogram."""
    return CompressedHistogramEvent(
        histo_ev.wall_time,
        histo_ev.step,
        compressor.compress_histogram_proto(
            histo_ev.histogram_value, self._compression_bps))