commit | f3229ebb4aec65575ee22d6e08032d0f84efc688 | [log] [tgz] |
---|---|---|
author | Reilly Grant <reillyg@chromium.org> | Fri Jan 11 03:51:07 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 11 03:51:07 2019 |
tree | 67ade3915fe378915dd2c7a2aa5ace5acb06fe19 | |
parent | 06b9011645ddcfbc0ac575c381f7cee98da73fa7 [diff] |
[serial] Use base::FilePath in device.mojom.SerialPortInfo This changes the type of the |path| field in device.mojom.SerialPortInfo from a string to a mojo_base.mojom.FilePath and updates the SerialDeviceEnumerator and SerialIoHandler implementations to pass around base::FilePaths instead of std::strings. This was done in order to make sure that device paths are stored in the correct platform-specific encoding and can be displayed to the user using base::FilePath::LossyDisplayName(). Bug: 908836 Change-Id: I46d0d18413c00db87f8ed3e58d73d5ae39b4c51e Reviewed-on: https://chromium-review.googlesource.com/c/1406087 Reviewed-by: Dominick Ng <dominickn@chromium.org> Reviewed-by: Peter Kasting <pkasting@chromium.org> Commit-Queue: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#621895}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .