-
Joel Hockey authored
Terminal System app will call chrome.terminalPrivate.getCroshSettings to get the current settings used by crosh in order to migrate any settings. This migration code will be removed after M83. Terminal System app will add some local storage to indicate that migration has been done, so this function should only be called once ever by Terminal System App. This code reads from the crosh extension sync storage where settings are currently stored. It is a close copy of extensions/browser/api/storage/storage_api code. https://cs.chromium.org/chromium/src/extensions/browser/api/storage/storage_api.cc?l=71-83&rcl=115bc01b385b57e8f96c4fa0b117e887a26cd55e TBR=benwells@chromium.org Bug: 1019021 Change-Id: I5287e804ac2c2a8c1eaf2fe7f14c8012f88b1c7a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1899626 Commit-Queue: Joel Hockey <joelhockey@chromium.org> Reviewed-by:
Julian Watson <juwa@google.com> Cr-Commit-Position: refs/heads/master@{#712899}
69d992ca