History Web UI: Remove setForeignSessions global function
- Remove setForeignSessions global function - Replace chrome.send call in history.js with starting foreign session fetch in C++ when the UI is constructed - Convert getForeignSessions to use sendWithPromise - Send sessions to JS on receiving getForeignSessions Web UI message Bug: 1022212 Change-Id: Ia4613335a4cd3d0c8090f030cc0206661f81886d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1949773Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#722702}
Showing
Please register or sign in to comment