webrtc/examples/peerconnection/client
Jonas Olsson 5b2eda4895 Sanity-check field trial string at initialization.
It's easy to make small errors when building field trial strings, and
those errors can cause all sorts of weird problems. This CL checks if
the FT string has an odd number of delimiters, duplicate
names or any trailing chars.

If so we'll log a error message. On debug builds we'll also crash.

Bug: webrtc:10729
Change-Id: Iebf7155d9b117a02d1e9cfe7f64408e11df2aec5
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/140866
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28234}
2019-06-11 14:11:06 +00:00
..
linux Sanity-check field trial string at initialization. 2019-06-11 14:11:06 +00:00
conductor.cc Remove unused file. 2019-02-06 10:24:07 +00:00
conductor.h Fix -Wextra-semi warnings. 2019-02-25 09:22:51 +00:00
defaults.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
defaults.h Changes name of RtpTransceiverInit's stream_labels to stream_ids. 2018-03-06 23:42:01 +00:00
flag_defs.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
main.cc Sanity-check field trial string at initialization. 2019-06-11 14:11:06 +00:00
main_wnd.cc Do not assume /DUNICODE and /D_UNICODE. 2019-03-27 14:18:41 +00:00
main_wnd.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
peer_connection_client.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
peer_connection_client.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