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

Unified Diff: media/cast/logging/log_deserializer.h

Issue 189583004: Cast: Implement log compression and (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 | « media/cast/DEPS ('k') | media/cast/logging/log_deserializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/log_deserializer.h
diff --git a/media/cast/logging/log_deserializer.h b/media/cast/logging/log_deserializer.h
index befb76a1c4214e7a564a00c9298cbcf0acc831f3..04064c83863c3b554603da44e5488ca65be20159 100644
--- a/media/cast/logging/log_deserializer.h
+++ b/media/cast/logging/log_deserializer.h
@@ -16,15 +16,15 @@ namespace cast {
// This function takes the output of LogSerializer and deserializes it into
// its original format. Returns true if deserialization is successful. All
// output arguments are valid if this function returns true.
-// |data|: Serialized event logs.
-// |is_audio|: This will be set to true or false depending on whether the data
-// is for an audio or video stream.
+// |data|: Serialized event logs with length |data_bytes|.
+// |compressed|: true if |data| is compressed in gzip format.
+// |log_metadata|: This will be populated with deserialized LogMetadata proto.
// |frame_events|: This will be populated with deserialized frame events.
// |packet_events|: This will be populated with deserialized packet events.
-// |first_rtp_timestamp|: This will be populated with the first RTP timestamp
-// of the events.
-bool DeserializeEvents(const std::string& data,
- media::cast::proto::LogMetadata* metadata,
+bool DeserializeEvents(char* data,
+ int data_bytes,
+ bool compressed,
+ media::cast::proto::LogMetadata* log_metadata,
FrameEventMap* frame_events,
PacketEventMap* packet_events);
« no previous file with comments | « media/cast/DEPS ('k') | media/cast/logging/log_deserializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698