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

Unified Diff: chrome/app/chrome_main_delegate.cc

Issue 2677563006: android: Report java exception in child (Closed)
Patch Set: remove braces Created 3 years, 10 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 | components/crash/content/app/breakpad_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main_delegate.cc
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
index 8b6933ab3d9d76b2307842bd73df11b185babd8d..4dcb123a8d0963d0475cf95676d40a0ccad4d774 100644
--- a/chrome/app/chrome_main_delegate.cc
+++ b/chrome/app/chrome_main_delegate.cc
@@ -888,12 +888,11 @@ void ChromeMainDelegate::PreSandboxStartup() {
// Zygote needs to call InitCrashReporter() in RunZygote().
if (process_type != switches::kZygoteProcess) {
#if defined(OS_ANDROID)
- if (process_type.empty()) {
+ if (process_type.empty())
breakpad::InitCrashReporter(process_type);
- base::android::InitJavaExceptionReporter();
- } else {
+ else
breakpad::InitNonBrowserCrashReporterForAndroid(process_type);
- }
+ base::android::InitJavaExceptionReporter();
#else // !defined(OS_ANDROID)
breakpad::InitCrashReporter(process_type);
#endif // defined(OS_ANDROID)
« no previous file with comments | « no previous file | components/crash/content/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698