| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.chromecast.shell; | 5 package org.chromium.chromecast.shell; |
| 6 | 6 |
| 7 import org.chromium.base.annotations.JNINamespace; | 7 import org.chromium.base.annotations.JNINamespace; |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * Wrapper of native CastMetricsHelper. | 10 * Wrapper of native CastMetricsHelper. |
| 11 */ | 11 */ |
| 12 @JNINamespace("chromecast") | 12 @JNINamespace("chromecast::shell") |
| 13 public final class CastMetricsHelper { | 13 public final class CastMetricsHelper { |
| 14 | |
| 15 public static void logMediaPlay() { | 14 public static void logMediaPlay() { |
| 16 nativeLogMediaPlay(); | 15 nativeLogMediaPlay(); |
| 17 } | 16 } |
| 18 private static native void nativeLogMediaPlay(); | 17 private static native void nativeLogMediaPlay(); |
| 19 | 18 |
| 20 public static void logMediaPause() { | 19 public static void logMediaPause() { |
| 21 nativeLogMediaPause(); | 20 nativeLogMediaPause(); |
| 22 } | 21 } |
| 23 private static native void nativeLogMediaPause(); | 22 private static native void nativeLogMediaPause(); |
| 24 | 23 |
| 25 } | 24 } |
| OLD | NEW |