Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: base/files/file_win.cc

Issue 126453004: Base: Rename File::error() to File::error_details() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/files/file_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_win.cc
diff --git a/base/files/file_win.cc b/base/files/file_win.cc
index c7ce9094217d0e77400daee719d677980c7d8f80..80f46136c7acacc0ccca1a0763b363d18107097d 100644
--- a/base/files/file_win.cc
+++ b/base/files/file_win.cc
@@ -84,7 +84,7 @@ void File::InitializeUnsafe(const FilePath& name, uint32 flags) {
disposition, create_flags, NULL));
if (file_.IsValid()) {
- error_ = FILE_OK;
+ error_details_ = FILE_OK;
async_ = ((flags & FLAG_ASYNC) == FLAG_ASYNC);
if (flags & (FLAG_OPEN_ALWAYS))
@@ -92,7 +92,7 @@ void File::InitializeUnsafe(const FilePath& name, uint32 flags) {
else if (flags & (FLAG_CREATE_ALWAYS | FLAG_CREATE))
created_ = true;
} else {
- error_ = OSErrorToFileError(GetLastError());
+ error_details_ = OSErrorToFileError(GetLastError());
}
}
« no previous file with comments | « base/files/file_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698