Use "Atom-Shell" instead of "atom-shell" for product names.

This commit is contained in:
Cheng Zhao 2013-11-24 23:17:48 +08:00
parent 70b7659893
commit 59f586ba59
4 changed files with 4 additions and 3 deletions

View file

@ -420,7 +420,7 @@
'tools/mac/generate_breakpad_symbols.py', 'tools/mac/generate_breakpad_symbols.py',
'--build-dir=<(PRODUCT_DIR)', '--build-dir=<(PRODUCT_DIR)',
'--binary=<(PRODUCT_DIR)/<(product_name).app/Contents/MacOS/<(product_name)', '--binary=<(PRODUCT_DIR)/<(product_name).app/Contents/MacOS/<(product_name)',
'--symbols-dir=<(PRODUCT_DIR)/atom-shell.breakpad.syms', '--symbols-dir=<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',
'--clear', '--clear',
'--jobs=16', '--jobs=16',
], ],

View file

@ -31,7 +31,7 @@ void CrashReporterMac::InitBreakpad(const std::string& product_name,
NSMutableDictionary* parameters = NSMutableDictionary* parameters =
[NSMutableDictionary dictionaryWithCapacity:4]; [NSMutableDictionary dictionaryWithCapacity:4];
[parameters setValue:@"atom-shell" [parameters setValue:@"Atom-Shell"
forKey:@BREAKPAD_PRODUCT]; forKey:@BREAKPAD_PRODUCT];
[parameters setValue:base::SysUTF8ToNSString(product_name) [parameters setValue:base::SysUTF8ToNSString(product_name)
forKey:@BREAKPAD_PRODUCT_DISPLAY]; forKey:@BREAKPAD_PRODUCT_DISPLAY];

View file

@ -100,7 +100,7 @@ google_breakpad::CustomClientInfo* CrashReporterWin::GetCustomInfo(
custom_info_entries_.reserve(2 + upload_parameters_.size()); custom_info_entries_.reserve(2 + upload_parameters_.size());
custom_info_entries_.push_back(google_breakpad::CustomInfoEntry( custom_info_entries_.push_back(google_breakpad::CustomInfoEntry(
L"prod", UTF8ToWide(product_name).c_str())); L"prod", L"Atom-Shell"));
custom_info_entries_.push_back(google_breakpad::CustomInfoEntry( custom_info_entries_.push_back(google_breakpad::CustomInfoEntry(
L"ver", UTF8ToWide(version).c_str())); L"ver", UTF8ToWide(version).c_str()));

View file

@ -3,6 +3,7 @@
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
var crashReporter = require('crash-reporter'); var crashReporter = require('crash-reporter');
crashReporter.start({ crashReporter.start({
productName: 'Something other than Atom-Shell',
submitUrl: 'http://127.0.0.1:1127', submitUrl: 'http://127.0.0.1:1127',
autoSubmit: true, autoSubmit: true,
ignoreSystemCrashHandler: true, ignoreSystemCrashHandler: true,