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

Unified Diff: chromecast/browser/android/cast_content_window_android.cc

Issue 2626863006: [Chromecast] Add CastWebContents (Closed)
Patch Set: 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
Index: chromecast/browser/android/cast_content_window_android.cc
diff --git a/chromecast/browser/android/cast_content_window_android.cc b/chromecast/browser/android/cast_content_window_android.cc
index 7c22d2c0f76c4f84a5b119244ca8b450e6faa7e7..c7ab89da54768f1988ce4554cb97df195798faab 100644
--- a/chromecast/browser/android/cast_content_window_android.cc
+++ b/chromecast/browser/android/cast_content_window_android.cc
@@ -7,7 +7,6 @@
#include "base/android/jni_android.h"
#include "base/android/scoped_java_ref.h"
#include "base/memory/ptr_util.h"
-#include "chromecast/base/metrics/cast_metrics_helper.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/render_widget_host.h"
#include "content/public/browser/render_widget_host_view.h"
@@ -89,22 +88,6 @@ CastContentWindowAndroid::CreateWebContents(
return web_contents;
}
-void CastContentWindowAndroid::DidFirstVisuallyNonEmptyPaint() {
- metrics::CastMetricsHelper::GetInstance()->LogTimeToFirstPaint();
-}
-
-void CastContentWindowAndroid::MediaStartedPlaying(
- const MediaPlayerInfo& media_info,
- const MediaPlayerId& id) {
- metrics::CastMetricsHelper::GetInstance()->LogMediaPlay();
-}
-
-void CastContentWindowAndroid::MediaStoppedPlaying(
- const MediaPlayerInfo& media_info,
- const MediaPlayerId& id) {
- metrics::CastMetricsHelper::GetInstance()->LogMediaPause();
-}
-
void CastContentWindowAndroid::RenderViewCreated(
content::RenderViewHost* render_view_host) {
content::RenderWidgetHostView* view =

Powered by Google App Engine
This is Rietveld 408576698