summaryrefslogtreecommitdiffstats
path: root/chrome/browser/first_run_mac.mm
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 02:02:00 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 02:02:00 +0000
commit139ec96dc6f26a24d8812aad4470f00b36ecee52 (patch)
treea10a96e7eed1bd4dec6a835b670be2af5d7e4956 /chrome/browser/first_run_mac.mm
parentd09cd49e9312e576c3f24764d1e542bd7084094c (diff)
downloadchromium_src-139ec96dc6f26a24d8812aad4470f00b36ecee52.zip
chromium_src-139ec96dc6f26a24d8812aad4470f00b36ecee52.tar.gz
chromium_src-139ec96dc6f26a24d8812aad4470f00b36ecee52.tar.bz2
1)When we enabled breakpad on first run we weren't correctly setting the process type.
2)Fixed another logic inversion in SetActiveRendererURL. 3)Change IsCrashReporterEnabled-> IsCrashReporterDisabled to prevent future confusion since that was the question all the callers where askign anyway. Review URL: http://codereview.chromium.org/113737 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16707 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/first_run_mac.mm')
-rw-r--r--chrome/browser/first_run_mac.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/first_run_mac.mm b/chrome/browser/first_run_mac.mm
index 41bc9a5..70d1afd 100644
--- a/chrome/browser/first_run_mac.mm
+++ b/chrome/browser/first_run_mac.mm
@@ -35,7 +35,7 @@ void OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton) {
// but display a confirmation dialog before sending a crash report so we
// respect a user's privacy while still getting any crashes that might happen
// before this point. Then remove the need for that dialog here.
- DCHECK(!IsCrashReporterEnabled());
+ DCHECK(IsCrashReporterDisabled());
scoped_nsobject<FirstRunDialogController> dialog(
[[FirstRunDialogController alloc] init]);
@@ -49,6 +49,7 @@ void OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton) {
// stats, enable breakpad.
if (stats_enabled) {
InitCrashReporter();
+ InitCrashProcessInfo();
}
#endif // defined(GOOGLE_CHROME_BUILD)
}