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

Unified Diff: chrome/renderer/renderer_main.cc

Issue 115526: Linux: Add Breakpad client. (Closed)
Patch Set: ... Created 11 years, 7 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 | « chrome/renderer/renderer_logging_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_main.cc
diff --git a/chrome/renderer/renderer_main.cc b/chrome/renderer/renderer_main.cc
index fc4d2912bb2fd763c6b71226fe06701dd576399a..97d633cc07c6159d29d037e86fc7467f66ac4661 100644
--- a/chrome/renderer/renderer_main.cc
+++ b/chrome/renderer/renderer_main.cc
@@ -21,6 +21,9 @@
#include "chrome/common/logging_chrome.h"
#include "chrome/common/main_function_params.h"
#include "chrome/renderer/renderer_main_platform_delegate.h"
+#if defined(OS_LINUX)
+#include "chrome/renderer/render_crash_handler_linux.h"
+#endif
#include "chrome/renderer/render_process.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
@@ -70,6 +73,10 @@ int RendererMain(const MainFunctionParams& parameters) {
// whatever occurs before it.
HandleRendererErrorTestParameters(parsed_command_line);
+#if defined(OS_LINUX)
+ EnableRendererCrashDumping();
+#endif
+
RendererMainPlatformDelegate platform(parameters);
StatsScope<StatsCounterTimer>
« no previous file with comments | « chrome/renderer/renderer_logging_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698