blob: 5e6fab177b96a7fea909be0652b0eaee95cbf2ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- chrome/browser/ui/views/first_run_dialog.cc.orig 2017-04-19 19:06:30 UTC
+++ chrome/browser/ui/views/first_run_dialog.cc
@@ -40,8 +40,10 @@ using views::GridLayout;
namespace {
void InitCrashReporterIfEnabled(bool enabled) {
+#ifndef OS_BSD
if (enabled)
breakpad::InitCrashReporter(std::string());
+#endif
}
} // namespace
@@ -121,8 +123,10 @@ views::View* FirstRunDialog::CreateExtra
bool FirstRunDialog::Accept() {
GetWidget()->Hide();
+#if !defined(OS_BSD)
ChangeMetricsReportingStateWithReply(report_crashes_->checked(),
base::Bind(&InitCrashReporterIfEnabled));
+#endif
if (make_default_->checked())
shell_integration::SetAsDefaultBrowser();
|