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

Unified Diff: base/file_util_win.cc

Issue 6019007: Remove win_util::FormatMessage and FormatLastWin32Error. These were only used... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 | « app/win/window_impl.cc ('k') | base/win_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_win.cc
===================================================================
--- base/file_util_win.cc (revision 70263)
+++ base/file_util_win.cc (working copy)
@@ -757,9 +757,8 @@
0,
NULL));
if (!file) {
- LOG(WARNING) << "CreateFile failed for path " << filename.value() <<
- " error code=" << GetLastError() <<
- " error text=" << win_util::FormatLastWin32Error();
+ LOG(WARNING) << "CreateFile failed for path " << filename.value()
+ << " error code=" << GetLastError();
return -1;
}
@@ -770,9 +769,8 @@
if (!result) {
// WriteFile failed.
- LOG(WARNING) << "writing file " << filename.value() <<
- " failed, error code=" << GetLastError() <<
- " description=" << win_util::FormatLastWin32Error();
+ LOG(WARNING) << "writing file " << filename.value()
+ << " failed, error code=" << GetLastError();
} else {
// Didn't write all the bytes.
LOG(WARNING) << "wrote" << written << " bytes to " <<
« no previous file with comments | « app/win/window_impl.cc ('k') | base/win_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698