commit | 21ec5df2a110ceff861b73ad672b7a748c2c82ce | [log] [tgz] |
---|---|---|
author | Simon Zünd <[email protected]> | Mon Oct 11 08:14:34 2021 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 13 06:33:52 2021 |
tree | 7cc62021b1e77d099cec56fbf10dbf11c71eebde | |
parent | 076dc53c280110027eff9bbaffd0c7abd160c53b [diff] [blame] |
[sync] Add getSyncInformation host binding This CL is part of a chain: 1. https://crrev.com/c/3217452 adds the binding in the backend 2. https://crrev.com/c/3217093 adds the binding in the frontend 3. https://crrev.com/c/3217454 adds a test for the backend CL The test only works after 2) has landed, so we need to land it separately. [email protected] Bug: 1245541 Change-Id: I99650112219cc3e7af4a55ebaf2608f6a9a20b6d Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3217093 Reviewed-by: Alex Rudenko <[email protected]> Commit-Queue: Simon Zünd <[email protected]>
diff --git a/front_end/devtools_compatibility.js b/front_end/devtools_compatibility.js index 0971daf..ba470f1 100644 --- a/front_end/devtools_compatibility.js +++ b/front_end/devtools_compatibility.js
@@ -564,6 +564,14 @@ /** * @override + * @param {!function(!InspectorFrontendHostAPI.SyncInformation):void} callback + */ + getSyncInformation(callback) { + DevToolsAPI.sendMessageToEmbedder('getSyncInformation', [], callback); + } + + /** + * @override * @param {string} origin * @param {string} script */