From e73c0197733c2b354d4f1c30153e64951593602a Mon Sep 17 00:00:00 2001 From: "cpu@google.com" Date: Wed, 13 Aug 2008 00:18:24 +0000 Subject: Add a couple of metrics to help us quantify two cases that can prevent us to get crash reports. - Added env_vars to exe project instead of keep duplicating the strings. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@766 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/env_vars.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'chrome/common/env_vars.cc') diff --git a/chrome/common/env_vars.cc b/chrome/common/env_vars.cc index 17ac68f..971669f 100644 --- a/chrome/common/env_vars.cc +++ b/chrome/common/env_vars.cc @@ -42,15 +42,17 @@ const wchar_t kLogFileName[] = L"CHROME_LOG_FILE"; // CHROME_CRASHED exists if a previous instance of chrome has crashed. This // triggers the 'restart chrome' dialog. CHROME_RESTART contains the strings // that are needed to show the dialog. -// +const wchar_t kShowRestart[] = L"CHROME_CRASHED"; +const wchar_t kRestartInfo[] = L"CHROME_RESTART"; + // The strings RIGHT_TO_LEFT and LEFT_TO_RIGHT indicate the locale direction. // For example, for Hebrew and Arabic locales, we use RIGHT_TO_LEFT so that the // dialog is displayed using the right orientation. -// -// If you modify these constants, you also need to modify them in breakpad.cc. -const wchar_t kShowRestart[] = L"CHROME_CRASHED"; -const wchar_t kRestartInfo[] = L"CHROME_RESTART"; const wchar_t kRtlLocale[] = L"RIGHT_TO_LEFT"; const wchar_t kLtrLocale[] = L"LEFT_TO_RIGHT"; +// If the out-of-process breakpad could not be installed, we set this variable +// according to the process. +const wchar_t kNoOOBreakpad[] = L"NO_OO_BREAKPAD"; + } // namespace env_vars -- cgit v1.1