| 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 1f59e9daa51f6af985964e263a3d2fdcc88f90ee..21b1ef40600b51ad8d17975847d81db9395bf9d5 100644
|
| --- a/chrome/renderer/media/cast_session_delegate.h
|
| +++ b/chrome/renderer/media/cast_session_delegate.h
|
| @@ -14,6 +14,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;
|
| @@ -24,6 +25,7 @@ class VideoFrame;
|
|
|
| namespace cast {
|
| class CastEnvironment;
|
| +class CastLoggingConfig;
|
| class EncodingEventSubscriber;
|
| class FrameInput;
|
|
|
| @@ -69,7 +71,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.
|
| @@ -78,6 +80,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_;
|
|
|