)]}'
{
  "commit": "2b7c4ddbc7ffe74151180b89dd1eac6c5d59728b",
  "tree": "8f918c07e9633756c874fbec8c4735496a0bf24c",
  "parents": [
    "5975552606c5bf51fd8d66b9b9bfa020999ef4b6"
  ],
  "author": {
    "name": "Alex Vakulenko",
    "email": "avakulenko@chromium.org",
    "time": "Wed Nov 12 12:38:08 2014 -0800"
  },
  "committer": {
    "name": "chrome-internal-fetch",
    "email": "chrome-internal-fetch@google.com",
    "time": "Thu Nov 13 03:14:27 2014 +0000"
  },
  "message": "libchromeos: Strongly type return values of async D-Bus calls\n\nAsync method handlers currently take just a generic DBusMethodResponse\nobject as a parameter and it is up to the handler\u0027s implementation to\nreturn the correct number of values of correct types.\n\nWhen using D-Bus binding code generator, the number and types of both\ninput and output parameters of a method are well known. However with\nthe current implementation, async method handler take just a response\nobject and lose the type information of the return values and rely\non the implementation to provide both the correct number of return\nvalues and their types.\n\nThis change adds the ability to have strongly-typed response object\nin method handlers that explicitly describes the number of return\nvalues and their types.\n\nNow, the async method handler signature is changed from:\n\n  bool Handler(scoped_ptr\u003cDBusMethodResponse\u003e response,\n               InTypes... inputs);\n\nto:\n\n  bool Handler(scoped_ptr\u003cDBusMethodResponse\u003cOutTypes...\u003e\u003e response,\n               InTypes... inputs);\n\nAttempt to call response-\u003eReturn() with wrong number of parameters or\nmismatched types will be caught at compile time.\n\nBUG\u003dNone\nTEST\u003dFEATURES\u003dtest emerge-link libchromeos buffet peerd lorgnette\n\nChange-Id: Ie90eaacfc091484262a09f273a7aef6aaec713c9\nReviewed-on: https://chromium-review.googlesource.com/229332\nTested-by: Alex Vakulenko \u003cavakulenko@chromium.org\u003e\nReviewed-by: Christopher Wiley \u003cwiley@chromium.org\u003e\nCommit-Queue: Alex Vakulenko \u003cavakulenko@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "abe687c2a4594475d1b023b3e96d7cac5f1b6315",
      "old_mode": 33188,
      "old_path": "buffet/manager.cc",
      "new_id": "071b861a9efa2eca1072e6e133aab81de9a64c7c",
      "new_mode": 33188,
      "new_path": "buffet/manager.cc"
    },
    {
      "type": "modify",
      "old_id": "b8ef91ad0cd897c6ff593f391a1b6e4a701ea1ff",
      "old_mode": 33188,
      "old_path": "buffet/manager.h",
      "new_id": "bcc0425e56ab30da69a6c2020b3284fb85447410",
      "new_mode": 33188,
      "new_path": "buffet/manager.h"
    }
  ]
}
