)]}' { "commit": "6400e3bfc0cd31cb0edd3cd10b0c34588c864351", "tree": "1bddd6a9d703ab49cc54d8dfffac939c18067138", "parents": [ "7dd0ab791a59c89b628981f82f56b9ee3e8208b6" ], "author": { "name": "Austin Eng", "email": "enga@chromium.org", "time": "Thu May 12 00:09:26 2022 +0000" }, "committer": { "name": "Dawn LUCI CQ", "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com", "time": "Thu May 12 00:09:26 2022 +0000" }, "message": "Add a way to query if a device exists on the wire server\n\nChromium tracks the devices which live on the wire so it can\nautomatically call tick on devices that have pending work. This used\nto be done by querying an (id, generation) pair and checking if it\nresolves to a non-null device.\n\nThis CL adds a new way to query directly using the device, since a\nrefactor in Chrome will change creation such that the id and generation\nis not known when a new device is requested.\n\nAlso fixes a bug for device callbacks where the required callback\nuserdata wasn\u0027t fully populated for devices created with\nrequestAdapter. Update a test to check for this as well.\n\nBug: chromium:1315260\nChange-Id: I7468edc3e77bade191e1e9f3eaadebbf4441d88a\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89520\nReviewed-by: Loko Kung \u003clokokung@google.com\u003e\nKokoro: Kokoro \u003cnoreply+kokoro@google.com\u003e\nCommit-Queue: Austin Eng \u003cenga@chromium.org\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "99056089a5195cf1f630258d05fb0ac697071296", "old_mode": 33188, "old_path": "include/dawn/wire/WireServer.h", "new_id": "03d694e5a3edd4a29a86c4fcb51a4539043c28e6", "new_mode": 33188, "new_path": "include/dawn/wire/WireServer.h" }, { "type": "modify", "old_id": "aa56c39b2262d4ab00f6e575347c606e128b1269", "old_mode": 33188, "old_path": "src/dawn/tests/unittests/wire/WireAdapterTests.cpp", "new_id": "e87414d4562a9d4e5462a4a01613c6bbd8658859", "new_mode": 33188, "new_path": "src/dawn/tests/unittests/wire/WireAdapterTests.cpp" }, { "type": "modify", "old_id": "c806fe0e33000f66c6dd520c8118ec9c3223e6e5", "old_mode": 33188, "old_path": "src/dawn/wire/WireServer.cpp", "new_id": "b864112769cae77b1447485109d237568b0d1f90", "new_mode": 33188, "new_path": "src/dawn/wire/WireServer.cpp" }, { "type": "modify", "old_id": "06fbc04dac21f7a50f915ca6fc2b556d1d381ec5", "old_mode": 33188, "old_path": "src/dawn/wire/server/ObjectStorage.h", "new_id": "1545dc3b7fc2bbaa2c0c44922e6a8e1493677b58", "new_mode": 33188, "new_path": "src/dawn/wire/server/ObjectStorage.h" }, { "type": "modify", "old_id": "6dc8358e54d07f37eccf8fe6ddb60ecb2d007d73", "old_mode": 33188, "old_path": "src/dawn/wire/server/Server.cpp", "new_id": "cf6697d5af994996aa401674d8d4f1953aa5c5e9", "new_mode": 33188, "new_path": "src/dawn/wire/server/Server.cpp" }, { "type": "modify", "old_id": "9bf60c84685bf3236cac091f8e66ee97c34a11ee", "old_mode": 33188, "old_path": "src/dawn/wire/server/Server.h", "new_id": "6aa0bea0867d39e42337d2c8e0493bda31e01a38", "new_mode": 33188, "new_path": "src/dawn/wire/server/Server.h" }, { "type": "modify", "old_id": "67e5d46017ebffb68f8d7742943c31f60c8255b2", "old_mode": 33188, "old_path": "src/dawn/wire/server/ServerAdapter.cpp", "new_id": "9735d26cd426a81e1ecbc9dcd5edd5f74bc1b9b0", "new_mode": 33188, "new_path": "src/dawn/wire/server/ServerAdapter.cpp" }, { "type": "modify", "old_id": "0a1fff5e3e91a3424577efe84811df26d5289d38", "old_mode": 33188, "old_path": "src/dawn/wire/server/ServerDevice.cpp", "new_id": "91c70ea888ebebfd4587afeb4d88d1638dd82fc5", "new_mode": 33188, "new_path": "src/dawn/wire/server/ServerDevice.cpp" }, { "type": "modify", "old_id": "d3998a38c159777c917c92a94c3f40061129811b", "old_mode": 33188, "old_path": "src/dawn/wire/server/ServerInstance.cpp", "new_id": "dcdf62cc24e7470d75b0bf47279064c3234f4b4a", "new_mode": 33188, "new_path": "src/dawn/wire/server/ServerInstance.cpp" } ] }