)]}'
{
  "commit": "27be378fa6eee87a69c1cfc3c9abc22082ea6c11",
  "tree": "feab7fe97a2b9a818515f561c93271bda5e43025",
  "parents": [
    "a4caab31c93ef2926326a3880cc407016d2b6903"
  ],
  "author": {
    "name": "Tommi",
    "email": "tommi@webrtc.org",
    "time": "Tue Apr 14 10:16:54 2026"
  },
  "committer": {
    "name": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Apr 14 12:12:21 2026"
  },
  "message": "Update how the DTLS role is queried and reported.\n\nUpdate DataChannelController to query the DtlsTransport transport\ndirectly for the SSL role instead of sending the request through\nPeerConnection, JsepTransportController, JsepTransport and eventually\nDtlsTransport. This reduces unnecessary coupling and threading checks\nfor several of the classes (most importantly PeerConnection and\nJsepTransportController) and simplifies the PeerConnection interface by\nremoving the redundant method, associated mocks and fakes.\n\nWhile making this change, also update SctpTransport to query its\ninternal DTLS transport directly for the role.\n\nLastly, DtlsTransport is adjusted to ensure role information is\ncorrectly propagated during state changes, not only for the\n`DtlsTransportState::kConnected` state so that Information() returns up\nto date information.\n\nThe change also clarifies threading requirements in the\nJsepTransportController.\n\nBug: none\nChange-Id: If925416c589c52ceef1d20ffe58b72fa59f7d496\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/463540\nCommit-Queue: Tomas Gunnarsson \u003ctommi@webrtc.org\u003e\nReviewed-by: Harald Alvestrand \u003chta@webrtc.org\u003e\nAuto-Submit: Tomas Gunnarsson \u003ctommi@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#47420}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "450781ae2cb080dc7705c95ed1fa3e0ab8ff20a4",
      "old_mode": 33188,
      "old_path": "p2p/dtls/dtls_transport_unittest.cc",
      "new_id": "70632f34d54824cae65fdfd4da5eb9ac362c000f",
      "new_mode": 33188,
      "new_path": "p2p/dtls/dtls_transport_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "34bce611d5bec5b9a7e2e0166cae1a37b6d9fdbd",
      "old_mode": 33188,
      "old_path": "pc/data_channel_controller.cc",
      "new_id": "09b62cd4dea1ad006fd32cf41b0bba87f22b81c1",
      "new_mode": 33188,
      "new_path": "pc/data_channel_controller.cc"
    },
    {
      "type": "modify",
      "old_id": "8dbd358859820abdf65f4cacd5d4af5ab3157637",
      "old_mode": 33188,
      "old_path": "pc/data_channel_controller_unittest.cc",
      "new_id": "2c12d3b7b24d4412cb765b25b3be17edeb938138",
      "new_mode": 33188,
      "new_path": "pc/data_channel_controller_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "b1ce96b7b9381056615aa736e8258dfa99324d7e",
      "old_mode": 33188,
      "old_path": "pc/data_channel_integrationtest.cc",
      "new_id": "be2f2e1160853455936f7f00439c75a635fc4a29",
      "new_mode": 33188,
      "new_path": "pc/data_channel_integrationtest.cc"
    },
    {
      "type": "modify",
      "old_id": "ed060580de56d2f294fc3d2b23f6fa88a9d877db",
      "old_mode": 33188,
      "old_path": "pc/dtls_transport.cc",
      "new_id": "a5c01c8914bb3d6695a06601be6124200e614ef0",
      "new_mode": 33188,
      "new_path": "pc/dtls_transport.cc"
    },
    {
      "type": "modify",
      "old_id": "4d2126ebd3454517ef31f724012044663aeeb70e",
      "old_mode": 33188,
      "old_path": "pc/jsep_transport_controller.cc",
      "new_id": "e1ae0dbc7e7c200e61a7a6452db775a681f77e31",
      "new_mode": 33188,
      "new_path": "pc/jsep_transport_controller.cc"
    },
    {
      "type": "modify",
      "old_id": "87cfb4343727591d3707ed9cb54510a1dfd82dbc",
      "old_mode": 33188,
      "old_path": "pc/peer_connection.cc",
      "new_id": "bdd6ba8c8e23a8c48f3c36a84de8feeec925c325",
      "new_mode": 33188,
      "new_path": "pc/peer_connection.cc"
    },
    {
      "type": "modify",
      "old_id": "b48c82ba0421d28e8462b8798ec69d75de5a7342",
      "old_mode": 33188,
      "old_path": "pc/peer_connection.h",
      "new_id": "2b685313b6ac06436cde796af8feed1ec7c17904",
      "new_mode": 33188,
      "new_path": "pc/peer_connection.h"
    },
    {
      "type": "modify",
      "old_id": "f31f9992d03305bae1cea147f48d41be3c4b28fe",
      "old_mode": 33188,
      "old_path": "pc/peer_connection_internal.h",
      "new_id": "cdffa213e398fb7a8247dabe07514667bee233a7",
      "new_mode": 33188,
      "new_path": "pc/peer_connection_internal.h"
    },
    {
      "type": "modify",
      "old_id": "abca8a199c966e666411ec47293fe5d14d0d1e9f",
      "old_mode": 33188,
      "old_path": "pc/sctp_transport.cc",
      "new_id": "243de861580df954b074696beaaaa9fbb0d69970",
      "new_mode": 33188,
      "new_path": "pc/sctp_transport.cc"
    },
    {
      "type": "modify",
      "old_id": "bcea4102be500db97f7c1da54cd1529cc754e99c",
      "old_mode": 33188,
      "old_path": "pc/test/fake_peer_connection_base.h",
      "new_id": "d395e83f9c657bdc88f438c2db3e39f36adaec62",
      "new_mode": 33188,
      "new_path": "pc/test/fake_peer_connection_base.h"
    },
    {
      "type": "modify",
      "old_id": "dddc2542748539d78bf34b65db6f2d28ddeb5d06",
      "old_mode": 33188,
      "old_path": "pc/test/mock_peer_connection_internal.h",
      "new_id": "37bd49b211ff54665a5b186393dd8126092c9aec",
      "new_mode": 33188,
      "new_path": "pc/test/mock_peer_connection_internal.h"
    }
  ]
}
