webrtc/rtc_tools/event_log_visualizer
Bjorn Terelius edab3011fa Remove webrtc::test::InitFieldTrialsFromString(const std::string&).
This is done to solve a problem where a string literal is implicitly cast
to a temporary std::string when calling webrtc::test::InitFieldTrialsFromString
which passes a pointer to the internal representation to
webrtc::field_trial::InitFieldTrialFromString(char*). This pointer is
stored for later use, but the temporary std::string is destroyed as soon
as the function returns.

Using webrtc::field_trial::InitFieldTrialFromString(char*) instead,
avoids the implicit casts (but the caller still needs to ensure that
the char* outlives the program). The validation previously done by
webrtc::test::InitFieldTrialsFromString can now be done by manually
calling webrtc::test::ValidateFieldTrialsStringOrDie(const std::string&).

Add system_wrappers:field_trial_default as a direct dependency to
various targets to allow including the field_trials_default.h header.

Bug: webrtc:8812
Change-Id: Ib5a641ea255b1c16a8f7f35e1fe67f6c38a61da6
Reviewed-on: https://webrtc-review.googlesource.com/46141
Reviewed-by: Tommi <tommi@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21856}
2018-02-01 19:47:41 +00:00
..
analyzer.cc Revert "Structured ICE logging via RtcEventLog." 2018-01-31 09:38:41 +00:00
analyzer.h Revert "Structured ICE logging via RtcEventLog." 2018-01-31 09:38:41 +00:00
chart.proto Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
main.cc Remove webrtc::test::InitFieldTrialsFromString(const std::string&). 2018-02-01 19:47:41 +00:00
OWNERS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
plot_base.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
plot_base.h Visualize simulated BWE as a piecewise constant function. 2017-11-13 10:39:38 +00:00
plot_protobuf.cc Visualize simulated BWE as a piecewise constant function. 2017-11-13 10:39:38 +00:00
plot_protobuf.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
plot_python.cc Add new event type to RtcEventLog 2017-12-05 13:13:07 +00:00
plot_python.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
triage_notifications.h Aid triaging of bugs by printing notifications about interesting parts of an event log. 2017-12-01 12:45:51 +00:00