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

Unified Diff: media/blink/webmediaplayer_impl.cc

Issue 1924743008: media: Report RAPPOR for media pipeline errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | media/blink/webmediaplayer_util.h » ('j') | media/blink/webmediaplayer_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl.cc
diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc
index d1f5f2e384f0ddc5805052c11e673fac9da0fd6c..aafbe724f6810f4f123c9861f1940c8a98ef4311 100644
--- a/media/blink/webmediaplayer_impl.cc
+++ b/media/blink/webmediaplayer_impl.cc
@@ -952,6 +952,8 @@ void WebMediaPlayerImpl::OnPipelineError(PipelineStatus error) {
if (suppress_destruction_errors_)
return;
+ ReportPipelineError(load_type_, frame_->getSecurityOrigin(), error);
+
media_log_->AddEvent(media_log_->CreatePipelineErrorEvent(error));
if (ready_state_ == WebMediaPlayer::ReadyStateHaveNothing) {
« no previous file with comments | « no previous file | media/blink/webmediaplayer_util.h » ('j') | media/blink/webmediaplayer_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698