commit | d91139c6283a06f5eb0a46523e29ab38cb08f186 | [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 | f75d22aca9bc3e64e292bb39bc56c75cb21d365c | |
parent | 19d0c23a5a8730cf30baeaed51ba9d2c8890cb60 [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