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

Unified Diff: media/blink/webmediaplayer_impl.cc

Issue 2964713004: media: Add more player details in chrome://media-internals player list (Closed)
Patch Set: Bikeshed. Created 3 years, 5 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 | « media/base/pipeline_impl.cc ('k') | no next file » | no next file with comments »
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 2986a27c8a2daacba2205b99fca390f6d153e882..caf1af708b6a118df1c24a5b4c0f5b0ba7231f80 100644
--- a/media/blink/webmediaplayer_impl.cc
+++ b/media/blink/webmediaplayer_impl.cc
@@ -284,6 +284,10 @@ WebMediaPlayerImpl::WebMediaPlayerImpl(
media_log_->AddEvent(media_log_->CreateCreatedEvent(
url::Origin(frame_->GetSecurityOrigin()).GetURL().spec()));
+ media_log_->SetStringProperty("frame_url",
+ frame_->GetDocument().Url().GetString().Utf8());
+ media_log_->SetStringProperty("frame_title",
+ frame_->GetDocument().Title().Utf8());
if (params->initial_cdm())
SetCdm(params->initial_cdm());
« no previous file with comments | « media/base/pipeline_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698