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

Side by Side Diff: chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastMetricsHelper.java

Issue 2570623003: [Chromecast] Turn CastContentWindow into an abstract interface. (Closed)
Patch Set: Fix browser test Created 3 years, 11 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
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698