Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index 2d2b8c7c48a79ccac6a05daaecb6cd7b4bb68d35..31663ece1a3944cd711513edfba9bedf3d8c9b75 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -101,11 +101,8 @@ |
#include "chromeos/hugepage_text/hugepage_text.h" |
#endif |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
-#include "chrome/browser/android/java_exception_reporter.h" |
-#endif |
- |
#if defined(OS_ANDROID) |
+#include "chrome/browser/android/java_exception_reporter.h" |
#include "chrome/common/descriptors_android.h" |
#else |
// Diagnostics is only available on non-android platforms. |
@@ -889,11 +886,7 @@ void ChromeMainDelegate::PreSandboxStartup() { |
#if defined(OS_ANDROID) |
if (process_type.empty()) { |
breakpad::InitCrashReporter(process_type); |
-// TODO(crbug.com/551176): Exception reporting should work without |
-// ANDROID_JAVA_UI |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
chrome::android::InitJavaExceptionReporter(); |
-#endif |
} else { |
breakpad::InitNonBrowserCrashReporterForAndroid(process_type); |
} |