Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java

Issue 2378773010: Expose registered histograms from FeedbackCollector (Closed)
Patch Set: rebased, nyquist comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/android/base_jni_registrar.cc ('k') | base/android/statistics_recorder_android.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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.base.metrics;
6
7 import org.chromium.base.annotations.JNINamespace;
8
9 /**
10 * Java API which exposes the registered histograms on the native side as
11 * JSON test.
12 */
13 @JNINamespace("base::android")
14 public final class StatisticsRecorderAndroid {
15 private StatisticsRecorderAndroid() {}
16
17 /**
18 * @return All the registered histograms as JSON text.
19 */
20 public static String toJson() {
21 return nativeToJson();
22 }
23
24 private static native String nativeToJson();
25 }
OLDNEW
« no previous file with comments | « base/android/base_jni_registrar.cc ('k') | base/android/statistics_recorder_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698