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

Unified Diff: chrome/common/dump_without_crashing.cc

Issue 18770006: Remove USE_LINUX_BREAKPAD ifdef since we don't need it for chromium anymore. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: lei's comments + sync Created 7 years, 5 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: chrome/common/dump_without_crashing.cc
===================================================================
--- chrome/common/dump_without_crashing.cc (revision 211696)
+++ chrome/common/dump_without_crashing.cc (working copy)
@@ -15,7 +15,7 @@
namespace {
-#if defined(USE_LINUX_BREAKPAD) || defined(OS_MACOSX)
+#if defined(OS_POSIX)
// Pointer to the function that's called by DumpWithoutCrashing() to dump the
// process's memory.
void (*dump_without_crashing_function_)() = NULL;
@@ -34,7 +34,7 @@
"DumpProcess"));
if (DumpProcess)
DumpProcess();
-#elif defined(USE_LINUX_BREAKPAD) || defined(OS_MACOSX)
+#elif defined(OS_POSIX)
if (dump_without_crashing_function_)
(*dump_without_crashing_function_)();
#else
@@ -42,7 +42,7 @@
#endif
}
-#if defined(USE_LINUX_BREAKPAD) || defined(OS_MACOSX)
+#if defined(OS_POSIX)
void SetDumpWithoutCrashingFunction(void (*function)()) {
dump_without_crashing_function_ = function;
}
« chrome/browser/chrome_content_browser_client.cc ('K') | « chrome/common/dump_without_crashing.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698