Bind the structured ICE logging with P2PTransportChannel.

This change list passes the instance of RtcEventLog from Peerconnection
down to P2PTransportChannel, and binds the structured ICE logging with
ICE layer objects. Logs of ICE connectivity checks are injected for
candidate pairs.

TBR=terelius@webrtc.org

Bug: None
Change-Id: Ia979dbbac6d31dcf0f8988da1065bdfc3e461821
Reviewed-on: https://webrtc-review.googlesource.com/34660
Commit-Queue: Qingsi Wang <qingsi@google.com>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21884}
diff --git a/rtc_tools/event_log_visualizer/analyzer.cc b/rtc_tools/event_log_visualizer/analyzer.cc
index 2bbb09c..c32c676 100644
--- a/rtc_tools/event_log_visualizer/analyzer.cc
+++ b/rtc_tools/event_log_visualizer/analyzer.cc
@@ -2109,8 +2109,10 @@
         configs_by_cp_id.end()) {
       const std::string candidate_pair_desc =
           GetCandidatePairLogDescriptionAsString(config);
-      configs_by_cp_id[config.candidate_pair_id] = TimeSeries(
-          candidate_pair_desc, LineStyle::kNone, PointStyle::kHighlight);
+      configs_by_cp_id[config.candidate_pair_id] =
+          TimeSeries("[" + std::to_string(config.candidate_pair_id) + "]" +
+                         candidate_pair_desc,
+                     LineStyle::kNone, PointStyle::kHighlight);
       candidate_pair_desc_by_id_[config.candidate_pair_id] =
           candidate_pair_desc;
     }
@@ -2158,7 +2160,8 @@
     if (checks_by_cp_id.find(event.candidate_pair_id) ==
         checks_by_cp_id.end()) {
       checks_by_cp_id[event.candidate_pair_id] = TimeSeries(
-          GetCandidatePairLogDescriptionFromId(event.candidate_pair_id),
+          "[" + std::to_string(event.candidate_pair_id) + "]" +
+              GetCandidatePairLogDescriptionFromId(event.candidate_pair_id),
           LineStyle::kNone, PointStyle::kHighlight);
     }
     float x = ToCallTime(event.timestamp);