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

Unified Diff: chrome/renderer/media/cast_session_delegate.h

Issue 178073004: Cast: IPC from browser to renderer to send packet events from transport to cast library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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_ipc_dispatcher.cc ('k') | chrome/renderer/media/cast_session_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/cast_session_delegate.h
diff --git a/chrome/renderer/media/cast_session_delegate.h b/chrome/renderer/media/cast_session_delegate.h
index 05d136624ee370aaa1c1572bb82be42e7d86cbbf..9c9767a391dd5cc70a9e3e3777f9135f4bbe12d4 100644
--- a/chrome/renderer/media/cast_session_delegate.h
+++ b/chrome/renderer/media/cast_session_delegate.h
@@ -17,6 +17,7 @@
#include "base/time/default_tick_clock.h"
#include "media/cast/cast_config.h"
#include "media/cast/cast_sender.h"
+#include "media/cast/logging/logging_defines.h"
namespace base {
class MessageLoopProxy;
@@ -72,7 +73,7 @@ class CastSessionDelegate {
private:
// Start encoding threads and initialize the CastEnvironment.
- void Initialize();
+ void Initialize(const media::cast::CastLoggingConfig& logging_config);
// Configure CastSender. It is ready to accept audio / video frames after
// receiving a successful call to InitializationResult.
@@ -81,6 +82,9 @@ class CastSessionDelegate {
void StatusNotificationCB(
media::cast::transport::CastTransportStatus status);
+ // Adds logs collected from transport on browser side.
+ void LogRawEvents(const std::vector<media::cast::PacketEvent>& packet_events);
+
base::ThreadChecker thread_checker_;
scoped_refptr<media::cast::CastEnvironment> cast_environment_;
scoped_ptr<media::cast::CastSender> cast_sender_;
« no previous file with comments | « chrome/renderer/media/cast_ipc_dispatcher.cc ('k') | chrome/renderer/media/cast_session_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698