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
parent c783bc5e
...@@ -679,9 +679,12 @@ static DWORD __stdcall InitCrashReporterThread(void* param) { ...@@ -679,9 +679,12 @@ static DWORD __stdcall InitCrashReporterThread(void* param) {
if (command.HasSwitch(switches::kFullMemoryCrashReport)) { if (command.HasSwitch(switches::kFullMemoryCrashReport)) {
dump_type = kFullDumpType; dump_type = kFullDumpType;
} else { } else {
std::wstring channel_name(
GoogleUpdateSettings::GetChromeChannel(!is_per_user_install));
// Capture more detail in crash dumps for beta and dev channel builds. // Capture more detail in crash dumps for beta and dev channel builds.
if (channel_string == L"dev" || channel_string == L"beta" || if (channel_name == L"dev" || channel_name == L"beta" ||
channel_string == GoogleChromeSxSDistribution::ChannelName()) channel_name == GoogleChromeSxSDistribution::ChannelName())
dump_type = kLargerDumpType; dump_type = kLargerDumpType;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment