summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-16 22:00:48 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-16 22:00:48 +0000
commit29c6ad33118f24480ed065e7f184e115b0520fe3 (patch)
tree5d8c97c4351dd27bfad01d725a88fc0222dc819e
parentc783bc5e9ec1b74e88cd716ec6566575903336db (diff)
downloadchromium_src-29c6ad33118f24480ed065e7f184e115b0520fe3.zip
chromium_src-29c6ad33118f24480ed065e7f184e115b0520fe3.tar.gz
chromium_src-29c6ad33118f24480ed065e7f184e115b0520fe3.tar.bz2
Re-enable useful dumps on dev and beta channels.
BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/8571010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110362 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/app/breakpad_win.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/app/breakpad_win.cc b/chrome/app/breakpad_win.cc
index ae96306..58a9d27 100644
--- a/chrome/app/breakpad_win.cc
+++ b/chrome/app/breakpad_win.cc
@@ -679,9 +679,12 @@ static DWORD __stdcall InitCrashReporterThread(void* param) {
if (command.HasSwitch(switches::kFullMemoryCrashReport)) {
dump_type = kFullDumpType;
} else {
+ std::wstring channel_name(
+ GoogleUpdateSettings::GetChromeChannel(!is_per_user_install));
+
// Capture more detail in crash dumps for beta and dev channel builds.
- if (channel_string == L"dev" || channel_string == L"beta" ||
- channel_string == GoogleChromeSxSDistribution::ChannelName())
+ if (channel_name == L"dev" || channel_name == L"beta" ||
+ channel_name == GoogleChromeSxSDistribution::ChannelName())
dump_type = kLargerDumpType;
}