| Index: chrome/browser/ui/gtk/first_run_dialog.cc
|
| ===================================================================
|
| --- chrome/browser/ui/gtk/first_run_dialog.cc (revision 211696)
|
| +++ chrome/browser/ui/gtk/first_run_dialog.cc (working copy)
|
| @@ -10,6 +10,7 @@
|
| #include "base/i18n/rtl.h"
|
| #include "base/message_loop.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| +#include "chrome/app/breakpad_linux.h"
|
| #include "chrome/browser/first_run/first_run_dialog.h"
|
| #include "chrome/browser/platform_util.h"
|
| #include "chrome/browser/process_singleton.h"
|
| @@ -28,10 +29,6 @@
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
|
|
| -#if defined(USE_LINUX_BREAKPAD)
|
| -#include "chrome/app/breakpad_linux.h"
|
| -#endif
|
| -
|
| #if defined(GOOGLE_CHROME_BUILD)
|
| #include "base/prefs/pref_service.h"
|
| #include "chrome/browser/browser_process.h"
|
| @@ -169,10 +166,8 @@
|
| // Check if user has opted into reporting.
|
| if (report_crashes_ &&
|
| gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(report_crashes_))) {
|
| -#if defined(USE_LINUX_BREAKPAD)
|
| if (GoogleUpdateSettings::SetCollectStatsConsent(true))
|
| InitCrashReporter();
|
| -#endif
|
| } else {
|
| GoogleUpdateSettings::SetCollectStatsConsent(false);
|
| }
|
|
|