| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 package org.chromium.net; | |
| 6 | |
| 7 import org.chromium.base.JNINamespace; | |
| 8 | |
| 9 /** | |
| 10 * Controls UMA histograms. | |
| 11 */ | |
| 12 @JNINamespace("cronet") | |
| 13 public final class HistogramManager { | |
| 14 public HistogramManager() { | |
| 15 } | |
| 16 | |
| 17 /** | |
| 18 * Get histogram deltas serialized as protobuf. | |
| 19 */ | |
| 20 public byte[] getHistogramDeltas() { | |
| 21 return nativeGetHistogramDeltas(); | |
| 22 } | |
| 23 | |
| 24 private native byte[] nativeGetHistogramDeltas(); | |
| 25 } | |
| OLD | NEW |