Index: base/files/file.h |
diff --git a/base/files/file.h b/base/files/file.h |
index e87dd7b918f690c7770ff6650b434f6f766ae33c..a8cb16cb45722aa14523a1e28d74e85f2f61c238 100644 |
--- a/base/files/file.h |
+++ b/base/files/file.h |
@@ -172,7 +172,7 @@ class BASE_EXPORT File { |
bool created() const { return created_; } |
// Returns the OS result of opening this file. |
- Error error() const { return error_; } |
+ Error error_details() const { return error_details_; } |
PlatformFile GetPlatformFile() const { return file_; } |
PlatformFile TakePlatformFile(); |
@@ -276,7 +276,7 @@ class BASE_EXPORT File { |
PlatformFile file_; |
#endif |
- Error error_; |
+ Error error_details_; |
bool created_; |
bool async_; |
}; |