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

Unified Diff: chrome/renderer/media/cast_session.cc

Issue 173713004: Cast: Plumb raw event logs to cast extension, install EncodingEventSubscriber on CastSessionDelegat… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix subscriber leak Created 6 years, 10 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 | « chrome/renderer/media/cast_session.h ('k') | chrome/renderer/media/cast_session_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/cast_session.cc
diff --git a/chrome/renderer/media/cast_session.cc b/chrome/renderer/media/cast_session.cc
index bab95ff44d5c2140acaa6a511d39416babf4a277..5fcf3f9f1f8ae33d632c29346cf059e9f6bd374f 100644
--- a/chrome/renderer/media/cast_session.cc
+++ b/chrome/renderer/media/cast_session.cc
@@ -62,3 +62,11 @@ void CastSession::StartUDP(const net::IPEndPoint& local_endpoint,
local_endpoint,
remote_endpoint));
}
+
+void CastSession::GetEventLogsAndReset(const EventLogsCallback& callback) {
+ io_message_loop_proxy_->PostTask(
+ FROM_HERE,
+ base::Bind(&CastSessionDelegate::GetEventLogsAndReset,
+ base::Unretained(delegate_.get()),
+ callback));
+}
« no previous file with comments | « chrome/renderer/media/cast_session.h ('k') | chrome/renderer/media/cast_session_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698