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

Unified Diff: experimental/windows_debugger/debugger/base/debug_system.cc

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 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
Index: experimental/windows_debugger/debugger/base/debug_system.cc
diff --git a/experimental/windows_debugger/debugger/base/debug_system.cc b/experimental/windows_debugger/debugger/base/debug_system.cc
deleted file mode 100644
index e9ea16ed2611003e7ea3008d2b6676ab1cb31f1d..0000000000000000000000000000000000000000
--- a/experimental/windows_debugger/debugger/base/debug_system.cc
+++ /dev/null
@@ -1,20 +0,0 @@
-#include "debug_system.h"
-#include <windows.h>
-
-namespace debug {
-std::string System::GetLastErrorDescription(int error_code) {
- if (0 == error_code)
- error_code = ::GetLastError();
-
- char buff[ 2000 ] = { '?', 0 };
- ::FormatMessageA(FORMAT_MESSAGE_IGNORE_INSERTS | FORMAT_MESSAGE_FROM_SYSTEM,
- 0,
- error_code,
- MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
- buff,
- sizeof(buff),
- 0);
-
- return std::string(buff);
-}
-} // namespace debug
« no previous file with comments | « experimental/windows_debugger/debugger/base/debug_system.h ('k') | experimental/windows_debugger/debugger/base/debug_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698