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

Unified Diff: chrome/browser/ui/cocoa/first_run_dialog.mm

Issue 1001103002: Crashpad! (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sign crashpad_handler Created 5 years, 9 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/browser/google/google_update_settings_posix.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/first_run_dialog.mm
diff --git a/chrome/browser/ui/cocoa/first_run_dialog.mm b/chrome/browser/ui/cocoa/first_run_dialog.mm
index 8f02512b53e2f76c7ccd0842edade35022261853..24afd55ca5b300bbda58c5766861a69dc4afc8be 100644
--- a/chrome/browser/ui/cocoa/first_run_dialog.mm
+++ b/chrome/browser/ui/cocoa/first_run_dialog.mm
@@ -27,7 +27,6 @@
#include "chrome/browser/browser_process.h"
#include "chrome/common/pref_names.h"
#include "chrome/installer/util/google_update_settings.h"
-#import "components/crash/app/breakpad_mac.h"
#endif
@interface FirstRunDialogController (PrivateMethods)
@@ -100,14 +99,6 @@ bool ShowFirstRun(Profile* profile) {
bool stats_enabled = [dialog.get() statsEnabled];
GoogleUpdateSettings::SetCollectStatsConsent(stats_enabled);
- // Breakpad is normally enabled very early in the startup process. However,
- // on the first run it may not have been enabled due to the missing opt-in
- // from the user. If the user agreed now, enable breakpad if necessary.
- if (!breakpad::IsCrashReporterEnabled() && stats_enabled) {
- breakpad::InitCrashReporter(std::string());
- breakpad::InitCrashProcessInfo(std::string());
- }
-
// If selected set as default browser.
BOOL make_default_browser = [dialog.get() makeDefaultBrowser];
if (make_default_browser) {
« no previous file with comments | « chrome/browser/google/google_update_settings_posix.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698