commit | 13ea01db451b3993d175110a3336a58482be883d | [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 | faa14b94d5a6d0c3d429516bf226b9836f65da91 [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