commit | aa1251e13f18f2236b0ebb52300769400f80b9a8 | [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 | 517ed1f2b185df36d3532cc4785dd44cd15eac95 | |
parent | e4e6a9c08ad7a7c0d30d3c35aced4a9145665e97 [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