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

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

Issue 184853003: Cast: Add GetStats() extensions API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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.

Powered by Google App Engine
This is Rietveld 408576698