diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 18:25:46 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 18:25:46 +0000 |
commit | 84f78468c2d465279280bc2061c4d019ad765a48 (patch) | |
tree | c64f343a73212b9cdaa016fdf0e6d320c6084a3f /chrome/browser/chrome_browser_application_mac.mm | |
parent | c5a6ff1451d50cf5649b1920066331daefcc690b (diff) | |
download | chromium_src-84f78468c2d465279280bc2061c4d019ad765a48.zip chromium_src-84f78468c2d465279280bc2061c4d019ad765a48.tar.gz chromium_src-84f78468c2d465279280bc2061c4d019ad765a48.tar.bz2 |
patch from issue 2762014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49984 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_browser_application_mac.mm')
-rw-r--r-- | chrome/browser/chrome_browser_application_mac.mm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/browser/chrome_browser_application_mac.mm b/chrome/browser/chrome_browser_application_mac.mm index f696e96..979fd2b 100644 --- a/chrome/browser/chrome_browser_application_mac.mm +++ b/chrome/browser/chrome_browser_application_mac.mm @@ -85,7 +85,11 @@ size_t BinForException(NSException* exception) { // A list of common known exceptions. The list position will // determine where they live in the histogram, so never move them // around, only add to the end. +<<<<<<< HEAD static NSString* const kKnownNSExceptionNames[] = { +======= + static NSString* kKnownNSExceptionNames[] = { +>>>>>>> more // ??? NSGenericException, @@ -276,7 +280,11 @@ BOOL SwizzleNSExceptionInit() { // When a Cocoa control is wired to a freed object, we get crashers // in the call to |super| with no useful information in the // backtrace. Attempt to add some useful information. +<<<<<<< HEAD static NSString* const kActionKey = @"sendaction"; +======= + static NSString* kActionKey = @"sendaction"; +>>>>>>> more // If the action is something generic like -commandDispatch:, then // the tag is essential. @@ -318,9 +326,15 @@ BOOL SwizzleNSExceptionInit() { // is tracked because it may be the one which caused the system to // go off the rails. The last exception thrown is tracked because // it may be the one most directly associated with the crash. +<<<<<<< HEAD static NSString* const kFirstExceptionKey = @"firstexception"; static BOOL trackedFirstException = NO; static NSString* const kLastExceptionKey = @"lastexception"; +======= + static NSString* kFirstExceptionKey = @"firstexception"; + static BOOL trackedFirstException = NO; + static NSString* kLastExceptionKey = @"lastexception"; +>>>>>>> more // TODO(shess): It would be useful to post some stacktrace info // from the exception. |