webrtc/logging/rtc_event_log
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
..
encoder Return status instead of CHECKing in event log parser. 2019-11-04 12:42:57 +00:00
events Adds remote estimates to rtc event log. 2019-09-19 09:22:37 +00:00
mock Delete deprecated rtc_event_log header 2019-08-07 10:58:17 +00:00
output Promote RtcEventLogOutputFile to api/ 2019-05-08 12:29:42 +00:00
DEPS [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
fake_rtc_event_log.cc Pass the RtcEventLog instance to ICE via JsepTransportController. 2018-06-12 05:04:35 +00:00
fake_rtc_event_log.h Stop using rtc_event.h forward header 2019-09-11 08:20:29 +00:00
fake_rtc_event_log_factory.cc Delete deprecated rtc_event_log header 2019-08-07 10:58:17 +00:00
fake_rtc_event_log_factory.h Delete deprecated rtc_event_log_factory_interface.h 2019-09-05 08:57:36 +00:00
ice_logger.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
ice_logger.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
logged_events.cc Return status instead of CHECKing in event log parser. 2019-11-04 12:42:57 +00:00
logged_events.h Return status instead of CHECKing in event log parser. 2019-11-04 12:42:57 +00:00
rtc_event_log.proto Log probing bitrate and cluster id as int32 in event log. 2018-05-04 14:40:44 +00:00
rtc_event_log2.proto Adds remote estimates to rtc event log. 2019-09-19 09:22:37 +00:00
rtc_event_log2rtp_dump.cc Return status instead of CHECKing in event log parser. 2019-11-04 12:42:57 +00:00
rtc_event_log_impl.cc Cleaning up C++14 move into lambda TODOs. 2019-09-17 19:18:26 +00:00
rtc_event_log_impl.h Format almost everything. 2019-07-08 13:45:15 +00:00
rtc_event_log_parser.cc Return status instead of CHECKing in event log parser. 2019-11-04 12:42:57 +00:00
rtc_event_log_parser.h Return status instead of CHECKing in event log parser. 2019-11-04 12:42:57 +00:00
rtc_event_log_unittest.cc Return status instead of CHECKing in event log parser. 2019-11-04 12:42:57 +00:00
rtc_event_log_unittest_helper.cc Return status instead of CHECKing in event log parser. 2019-11-04 12:42:57 +00:00
rtc_event_log_unittest_helper.h Adds remote estimates to rtc event log. 2019-09-19 09:22:37 +00:00
rtc_event_processor.cc Simplifies RtcEventProcessor interface. 2019-01-08 15:16:19 +00:00
rtc_event_processor.h Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
rtc_event_processor_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
rtc_stream_config.cc Rewrite the RtcEventLog unit test. 2018-06-26 10:23:29 +00:00
rtc_stream_config.h Format almost everything. 2019-07-08 13:45:15 +00:00