[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
      */