webrtc/logging/rtc_event_log/encoder
Björn Terelius a06048a41e Return status instead of CHECKing in event log parser.
This CL adds ParseStatus/ParseStatusOr classes and returns those instead
of CHECKing that the log is well formed. Some refactoring was required.

We also add a allow_incomplete_logs parameter to the parser which by
default is false. Setting it to true will make the parser log a warning
but return success for errors that typically indicate that the log has
been truncated. "Deeper" errors indicating log corruption still return
an error.

Bug: webrtc:11064
Change-Id: Id5bd6e321de07e250662ae3aaa5ef15f48db6d55
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/158746
Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29679}
2019-11-04 12:42:57 +00:00
..
blob_encoding_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
blob_encoding.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
blob_encoding.h Format almost everything. 2019-07-08 13:45:15 +00:00
delta_encoding_unittest.cc Stop using Googletest legacy APIs. 2019-01-31 13:23:33 +00:00
delta_encoding.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
delta_encoding.h Format almost everything. 2019-07-08 13:45:15 +00:00
rtc_event_log_encoder_common_unittest.cc Fully qualify googletest symbols. 2019-04-09 17:18:20 +00:00
rtc_event_log_encoder_common.cc Use delta-encoding in new WebRTC event logs 2018-11-09 16:39:16 +00:00
rtc_event_log_encoder_common.h Use delta-encoding in new WebRTC event logs 2018-11-09 16:39:16 +00:00
rtc_event_log_encoder_legacy.cc Adds remote estimates to rtc event log. 2019-09-19 09:22:37 +00:00
rtc_event_log_encoder_legacy.h Add version and UTC time fields to RTC event log. 2018-11-15 14:32:43 +00:00
rtc_event_log_encoder_new_format.cc Adds remote estimates to rtc event log. 2019-09-19 09:22:37 +00:00
rtc_event_log_encoder_new_format.h Adds remote estimates to rtc event log. 2019-09-19 09:22:37 +00:00
rtc_event_log_encoder_unittest.cc Return status instead of CHECKing in event log parser. 2019-11-04 12:42:57 +00:00
rtc_event_log_encoder.h Stop using rtc_event.h forward header 2019-09-11 08:20:29 +00:00
var_int.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
var_int.h Format almost everything. 2019-07-08 13:45:15 +00:00