| Index: chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastMetricsHelper.java
|
| diff --git a/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastMetricsHelper.java b/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastMetricsHelper.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..600e4f8262aca0740eec62707a6e33e13132bbc5
|
| --- /dev/null
|
| +++ b/chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastMetricsHelper.java
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +package org.chromium.chromecast.shell;
|
| +
|
| +import org.chromium.base.JNINamespace;
|
| +
|
| +/**
|
| + * Wrapper of native CastMetricsHelper.
|
| + */
|
| +@JNINamespace("chromecast")
|
| +public final class CastMetricsHelper {
|
| +
|
| + public static void logMediaPlay() {
|
| + nativeLogMediaPlay();
|
| + }
|
| + private static native void nativeLogMediaPlay();
|
| +
|
| + public static void logMediaPause() {
|
| + nativeLogMediaPause();
|
| + }
|
| + private static native void nativeLogMediaPause();
|
| +
|
| +}
|
|
|