)]}'
{
  "commit": "dc4f75f7eed26fff21d475ddacaba073eab3c8a0",
  "tree": "7bbc70d639d2df0e39cd390f3e5049c28753eb70",
  "parents": [
    "4c3a7dbe1482e389b54c799f332c8ec6e5ac6af9"
  ],
  "author": {
    "name": "Henrik Boström",
    "email": "hbos@webrtc.org",
    "time": "Mon Apr 20 10:04:12 2020"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Mon Apr 20 10:54:53 2020"
  },
  "message": "[Adaptation] Make ResourceUsageState nullable, remove kStable.\n\nThis CL is part of the Call-Level Adaptation Processing design doc:\nhttps://docs.google.com/document/d/1ZyC26yOCknrrcYa839ZWLxD6o6Gig5A3lVTh4E41074/edit?usp\u003dsharing\n\nThe ResourceUsageState was written as: {kOveruse, kStable, kUnderuse}.\nThe assumption was that if a resource neither wanted to adapt up or\ndown it would report kStable. But with the addition of\nResource::IsAdaptationUpAllowed() (prior CL) the notion of being\n\"stable\" was already captured outside of ResourceUsageState.\nFurthermore, kStable failed to capture what IsAdaptationUpAllowed() did\nnot: whether we can go up depends on the resulting resolution or frame\nrate (restrictions_after). Perhaps we can go up a little, but not a lot.\n\nThis CL also adds Resource::ClearUsageState(). After applying an\nadaptation, all usage states become invalidated (new measurements are\nneeded to know if we are still over- or underusing). This was always\nthe case, but prior to this CL this was not accurately reflected in the\nResource::usage_state() in-between measurements.\n\nBug: webrtc:11172\nChange-Id: I140ff3114025b7732e530564690783e168d2509b\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/173088\nReviewed-by: Evan Shrubsole \u003ceshr@google.com\u003e\nReviewed-by: Ilya Nikolaevskiy \u003cilnik@webrtc.org\u003e\nCommit-Queue: Henrik Boström \u003chbos@webrtc.org\u003e\nCr-Commit-Position: refs/heads/master@{#31110}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bb3e63deb51c1cc02ef3feadce7756953c4a30e0",
      "old_mode": 33188,
      "old_path": "call/adaptation/resource.cc",
      "new_id": "0ffc78b4de4772368b5a1cbf9ab06997243d4956",
      "new_mode": 33188,
      "new_path": "call/adaptation/resource.cc"
    },
    {
      "type": "modify",
      "old_id": "7c802eb411dfdfd76ed1b4a13844b06ca770bb5a",
      "old_mode": 33188,
      "old_path": "call/adaptation/resource.h",
      "new_id": "bde8cd75979f717fa0f3800b032745c279aec903",
      "new_mode": 33188,
      "new_path": "call/adaptation/resource.h"
    },
    {
      "type": "modify",
      "old_id": "d75f62b2f4d3aeb294940cb5e478b5b6a0de4cce",
      "old_mode": 33188,
      "old_path": "call/adaptation/resource_adaptation_processor.cc",
      "new_id": "e69b205b999860940eaff2df70232817df9d1a03",
      "new_mode": 33188,
      "new_path": "call/adaptation/resource_adaptation_processor.cc"
    },
    {
      "type": "modify",
      "old_id": "39d8f3dc9b51d971542b9c0556f06e0e39ccd975",
      "old_mode": 33188,
      "old_path": "call/adaptation/resource_unittest.cc",
      "new_id": "1cb53756dcbab5516d9b4fe667c6c9b6a419ac55",
      "new_mode": 33188,
      "new_path": "call/adaptation/resource_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "243f1e04ec23046b138862585ee9bdb1ff257a3a",
      "old_mode": 33188,
      "old_path": "call/adaptation/test/fake_resource.cc",
      "new_id": "c7114a8cdc218bad145f8de0024980d1682e74e3",
      "new_mode": 33188,
      "new_path": "call/adaptation/test/fake_resource.cc"
    },
    {
      "type": "modify",
      "old_id": "852428c7e31b9c754d5feab3ecf9c1abaebfd694",
      "old_mode": 33188,
      "old_path": "call/adaptation/test/fake_resource.h",
      "new_id": "dd31142469b141389a08e25aa930035417970db2",
      "new_mode": 33188,
      "new_path": "call/adaptation/test/fake_resource.h"
    },
    {
      "type": "modify",
      "old_id": "44ac6e1390c56234aac26eb626bd45fef28276eb",
      "old_mode": 33188,
      "old_path": "video/video_stream_encoder_unittest.cc",
      "new_id": "38bd28b24b7eff2b695b90b982976bff2d10c988",
      "new_mode": 33188,
      "new_path": "video/video_stream_encoder_unittest.cc"
    }
  ]
}
