diff options
author | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-13 00:18:24 +0000 |
---|---|---|
committer | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-13 00:18:24 +0000 |
commit | e73c0197733c2b354d4f1c30153e64951593602a (patch) | |
tree | 9ff5e77f9ed53e9d4583b7ef1ae178ec1c771b16 /chrome/common/env_vars.cc | |
parent | cdcd319904e1ef4323a98bf52d3ae8f7ae726c09 (diff) | |
download | chromium_src-e73c0197733c2b354d4f1c30153e64951593602a.zip chromium_src-e73c0197733c2b354d4f1c30153e64951593602a.tar.gz chromium_src-e73c0197733c2b354d4f1c30153e64951593602a.tar.bz2 |
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
Diffstat (limited to 'chrome/common/env_vars.cc')
-rw-r--r-- | chrome/common/env_vars.cc | 12 |
1 files changed, 7 insertions, 5 deletions
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 |