)]}'
{
  "commit": "e448a3fb54eec298d9113b2bd85e71e2fe69bb77",
  "tree": "e0ff3c30cdc67cdfa277a49c07e9b1cc52d8eb56",
  "parents": [
    "ad89528051f9478cf8738c0dfd264d4a716b4698"
  ],
  "author": {
    "name": "Marina Ciocea",
    "email": "marinaciocea@webrtc.org",
    "time": "Mon Mar 04 14:52:21 2019"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Mon Mar 11 13:21:36 2019"
  },
  "message": "Update DataChannel bufferedamount implementation.\n\nCall DataChannelObserver::OnBufferedAmountChange on each successful send.\nPreviously, the observer would get notified of buffered amount changes only when\nqueued send data is consumed. Data gets queued only if it cannot be sent right\naway. According to the WebRTC standard[1], bufferedamount should be increased\nbefore each sent and decreased after each successful sent. Update implementation\nto be standard compliant.\n\nDesign doc: http://doc/1lorHBn-GMn5U0T0RQANxrsW0pXhw8XGZM-xZyVUOW90\n\n[1] https://w3c.github.io/webrtc-pc/#dom-datachannel-bufferedamount\n\nBug: chromium:878682\nChange-Id: Ife009d30c4a18dced9a54cf600a445bb1f02561d\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/123237\nCommit-Queue: Marina Ciocea \u003cmarinaciocea@webrtc.org\u003e\nReviewed-by: Harald Alvestrand \u003chta@webrtc.org\u003e\nReviewed-by: Karl Wiberg \u003ckwiberg@webrtc.org\u003e\nReviewed-by: Henrik Boström \u003chbos@webrtc.org\u003e\nCr-Commit-Position: refs/heads/master@{#27057}",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "91a98040033075c0a6003fe1e01522834adcf67d",
      "old_mode": 33188,
      "old_path": "api/data_channel_interface.h",
      "new_id": "1bd874e9361b491711a67b72583f3041357d4451",
      "new_mode": 33188,
      "new_path": "api/data_channel_interface.h"
    },
    {
      "type": "modify",
      "old_id": "f854defd1b67f828994d576b737501485c811f53",
      "old_mode": 33188,
      "old_path": "pc/data_channel.cc",
      "new_id": "e4727f25de919fbb21ba3358e0116c2d4918674d",
      "new_mode": 33188,
      "new_path": "pc/data_channel.cc"
    },
    {
      "type": "modify",
      "old_id": "a07c4fb57bd69ff28f9a061cf1f5467bafab8137",
      "old_mode": 33188,
      "old_path": "pc/data_channel.h",
      "new_id": "fa5c0f5f43d18ac1d7dbc06b10b295c1ea5fb926",
      "new_mode": 33188,
      "new_path": "pc/data_channel.h"
    },
    {
      "type": "modify",
      "old_id": "4aa9dee78716640f48760c480d0eaf230b80da10",
      "old_mode": 33188,
      "old_path": "pc/data_channel_unittest.cc",
      "new_id": "7ce40fb0886235e20804c9c04767621488b2695d",
      "new_mode": 33188,
      "new_path": "pc/data_channel_unittest.cc"
    }
  ]
}
