diff options
Diffstat (limited to 'base/include/android-base')
-rw-r--r-- | base/include/android-base/test_utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/include/android-base/test_utils.h b/base/include/android-base/test_utils.h index c0bf0c1e1..07a5edda0 100644 --- a/base/include/android-base/test_utils.h +++ b/base/include/android-base/test_utils.h | |||
@@ -26,6 +26,10 @@ class TemporaryFile { | |||
26 | TemporaryFile(); | 26 | TemporaryFile(); |
27 | ~TemporaryFile(); | 27 | ~TemporaryFile(); |
28 | 28 | ||
29 | // Release the ownership of fd, caller is reponsible for closing the | ||
30 | // fd or stream properly. | ||
31 | int release(); | ||
32 | |||
29 | int fd; | 33 | int fd; |
30 | char path[1024]; | 34 | char path[1024]; |
31 | 35 | ||