Chromium Code Reviews| Index: runtime/bin/file_android.cc |
| diff --git a/runtime/bin/file_android.cc b/runtime/bin/file_android.cc |
| index 6b5b024475780b8953c98e1e8924d26150e2f6dc..410fa0fbb84bb58c9996c5b5a1c81f67e6775103 100644 |
| --- a/runtime/bin/file_android.cc |
| +++ b/runtime/bin/file_android.cc |
| @@ -65,6 +65,11 @@ void File::Close() { |
| } |
| +intptr_t File::GetFD() { |
| + return handle_->fd(); |
| +} |
| + |
| + |
| bool File::IsClosed() { |
| return handle_->fd() == kClosedFd; |
| } |