commit | d0de23dedc1d81dc2bf318952eb656b91728a537 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri May 13 14:52:06 2016 -0700 |
committer | Josh Gao <jmgao@google.com> | Sat May 14 18:25:51 2016 -0700 |
tree | 00b346defd5139af3cfafe6032e1897605b7f35f | |
parent | 39ea3c5a845aa0c2a7d7046c339bbb5a3b44a58a [diff] |
adb/base: allow use of unique_fd inside adb. adb implements its own file descriptor emulation layer on Windows, which requires the use of adb_close instead of close throughout the codebase. Add a template argument to unique_fd that allows for this. Bug: http://b/28347842 Change-Id: I6397261f4973d49f2f8e04257bf67b348585bb63