[Nearby] Use settings mojo to get and set device name.
This updates the Nearby Share subpage and device name dialog to call the settings mojo for reading and writing the device name instead of accessing prefs directly. This is in preparation for a follow-up CL which will add validation and error checking when setting the device name. Bug: b:161297140 Change-Id: If7cad62416c2662e9c070ecaa91b47e43fe3dfae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2420773 Commit-Queue: Michael Hansen <hansenmichael@google.com> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:
James Vecore <vecore@google.com> Cr-Commit-Position: refs/heads/master@{#809494}
Showing
Please register or sign in to comment