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

Unified Diff: chromecast/android/cast_metrics_helper_android.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/android/cast_metrics_helper_android.h ('k') | chromecast/app/android/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/android/cast_metrics_helper_android.cc
diff --git a/chromecast/android/cast_metrics_helper_android.cc b/chromecast/android/cast_metrics_helper_android.cc
deleted file mode 100644
index 3b68ec3fe61d0908e531e1bd92ae396e15eb3bba..0000000000000000000000000000000000000000
--- a/chromecast/android/cast_metrics_helper_android.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// 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.
-
-#include "chromecast/android/cast_metrics_helper_android.h"
-
-#include "chromecast/base/metrics/cast_metrics_helper.h"
-#include "jni/CastMetricsHelper_jni.h"
-
-using base::android::JavaParamRef;
-
-namespace chromecast {
-
-// static
-bool CastMetricsHelperAndroid::RegisterJni(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
-void LogMediaPlay(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
- metrics::CastMetricsHelper::GetInstance()->LogMediaPlay();
-}
-
-void LogMediaPause(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
- metrics::CastMetricsHelper::GetInstance()->LogMediaPause();
-}
-
-} // namespace chromecast
« no previous file with comments | « chromecast/android/cast_metrics_helper_android.h ('k') | chromecast/app/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698