Replace MtpManager's ReadDirectory() with ReadDirectoryEntryIds().
MediaTransferProtocolDaemonClient currently provides a low-level ReadDirectoryEntryIds() method, and MtpManager does the translation to the high-level ReadDirectory() method that MTPDeviceTaskHelper understands. Change MtpManager's ReadDirectory() method to ReadDirectoryEntryIds(), so it acts more like a pass-through. Make MTPDeviceTaskHelper handle the translation. BUG=769630 Change-Id: I5154bd4beac0b6ab15579f166cdf8b8add6a7dac Reviewed-on: https://chromium-review.googlesource.com/1080214 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by:Colin Blundell <blundell@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Cr-Commit-Position: refs/heads/master@{#565441}
Showing
Please register or sign in to comment