Use base::string16 for device paths in DeviceMonitorWin
This is based on a comment from robliao@ in https://crrev.com/c/2099238. This change avoids converting the UTF-16 device path to a UTF-8 path and therefore makes it possible to call the W versions of Win32 APIs. Change-Id: I833c2cc7806cd0a61cbad236ebd9fd1985654635 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106752Reviewed-by:Robert Liao <robliao@chromium.org> Commit-Queue: Robert Liao <robliao@chromium.org> Auto-Submit: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#751190}
Showing
Please register or sign in to comment