Index: trunk/src/base/files/file.h |
=================================================================== |
--- trunk/src/base/files/file.h (revision 257580) |
+++ trunk/src/base/files/file.h (working copy) |
@@ -12,6 +12,7 @@ |
#include "base/base_export.h" |
#include "base/basictypes.h" |
+#include "base/files/scoped_file.h" |
#include "base/move.h" |
#include "base/time/time.h" |
@@ -177,7 +178,7 @@ |
// return; |
Error error_details() const { return error_details_; } |
- PlatformFile GetPlatformFile() const { return file_; } |
+ PlatformFile GetPlatformFile() const; |
PlatformFile TakePlatformFile(); |
// Destroying this object closes the file automatically. |
@@ -276,7 +277,7 @@ |
#if defined(OS_WIN) |
win::ScopedHandle file_; |
#elif defined(OS_POSIX) |
- PlatformFile file_; |
+ ScopedFD file_; |
#endif |
Error error_details_; |