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

Unified Diff: remoting/protocol/frame_stats.h

Issue 2176443002: Add client and host dispatchers for video_stats channel to send video stats from host to client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simple_channel
Patch Set: . Created 4 years, 5 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: remoting/protocol/frame_stats.h
diff --git a/remoting/protocol/frame_stats.h b/remoting/protocol/frame_stats.h
index c2c5ad9d2a743c9566f68524ef0178e47ec0cf3b..7727b712d7717996970556e1b95c2d81a664a306 100644
--- a/remoting/protocol/frame_stats.h
+++ b/remoting/protocol/frame_stats.h
@@ -22,6 +22,10 @@ struct HostFrameStats {
// Extracts timing fields from the |packet|.
static HostFrameStats GetForVideoPacket(const VideoPacket& packet);
+ // Converts FrameStatsMessage protobuf message to HostFrameStats.
+ static HostFrameStats FromFrameStatsMessage(const FrameStatsMessage& message);
+ void ToFrameStatsMessage(FrameStatsMessage* message_out) const;
+
// Frame Size.
int frame_size {};

Powered by Google App Engine
This is Rietveld 408576698