Chromium Code Reviews| 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 9d08882474785b871b96905dfeba50d04fbdbd9a..2904f1eaaaec23b20f1fa505c6c8eff139de4865 100644 |
| --- a/chrome/renderer/media/cast_session_delegate.h |
| +++ b/chrome/renderer/media/cast_session_delegate.h |
| @@ -44,6 +44,7 @@ class CastSessionDelegate { |
| typedef base::Callback<void(const scoped_refptr<media::cast::FrameInput>&)> |
| FrameInputAvailableCallback; |
| typedef base::Callback<void(scoped_ptr<std::string>)> EventLogsCallback; |
| + typedef base::Callback<void(scoped_ptr<std::string>)> StatsCallback; |
| CastSessionDelegate(); |
| virtual ~CastSessionDelegate(); |
| @@ -62,6 +63,7 @@ class CastSessionDelegate { |
| void ToggleLogging(bool is_audio, bool enable); |
| void GetEventLogsAndReset(bool is_audio, const EventLogsCallback& callback); |
| + void GetStatsAndReset(bool is_audio, const StatsCallback& callback); |
|
Alpha Left Google
2014/03/03 07:11:39
Should be just GetStats.
imcheng
2014/03/04 02:06:24
See other comment.
|
| protected: |
| // Callback with the result of the initialization. |