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
..
2019-10-31 15:43:59 +00:00
2019-07-19 06:54:04 +00:00
2019-11-04 12:42:57 +00:00
2018-10-23 11:32:56 +00:00
2019-01-11 17:11:39 +00:00
2019-09-20 10:41:09 +00:00
2019-01-31 13:23:33 +00:00
2018-09-14 07:05:20 +00:00
2019-07-08 13:45:15 +00:00
2018-10-04 14:01:44 +00:00
2018-07-25 14:59:26 +00:00
2019-07-08 13:45:15 +00:00
2019-06-28 10:11:33 +00:00
2019-07-08 13:45:15 +00:00
2019-06-27 09:16:27 +00:00
2019-07-08 13:45:15 +00:00
2019-06-27 09:16:27 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2018-06-19 14:00:39 +00:00
2018-10-23 11:32:56 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-04-09 17:18:20 +00:00
2019-07-08 13:45:15 +00:00
2019-01-25 20:29:58 +00:00
2019-10-25 11:36:41 +00:00
2019-10-25 11:36:41 +00:00
2019-10-31 15:43:59 +00:00
2019-01-10 10:04:34 +00:00
2019-01-10 10:04:34 +00:00
2019-10-31 15:43:59 +00:00
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2019-01-11 17:11:39 +00:00
2018-06-19 14:00:39 +00:00
2018-10-04 14:01:44 +00:00
2019-07-08 13:45:15 +00:00
2018-09-06 12:53:19 +00:00
2018-10-23 11:32:56 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-10-31 15:43:59 +00:00
2019-06-28 14:20:03 +00:00
2019-04-26 09:48:05 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-08-29 11:45:38 +00:00
2019-05-23 14:19:30 +00:00
2018-09-14 07:05:20 +00:00
2019-01-11 17:11:39 +00:00
2018-07-25 14:59:26 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-09-17 15:47:29 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-07-03 15:12:09 +00:00
2019-07-24 16:47:13 +00:00
2019-10-31 15:43:59 +00:00
2018-06-19 14:00:39 +00:00
2019-01-11 17:11:39 +00:00
2018-10-23 11:32:56 +00:00
2019-01-11 17:11:39 +00:00
2018-06-19 14:00:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 07:39:45 +00:00
2019-08-07 10:12:56 +00:00
2019-01-11 17:11:39 +00:00
2019-04-29 15:39:50 +00:00
2019-10-25 11:36:41 +00:00
2019-10-31 15:43:59 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2018-06-19 14:00:39 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2018-10-23 11:32:56 +00:00
2019-01-11 17:11:39 +00:00