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

Unified Diff: base/files/file.h

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 | « no previous file | base/files/file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
};
« no previous file with comments | « no previous file | base/files/file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698