| OLD | NEW |
| 1 // Copyright (c) 2006, Google Inc. | 1 // Copyright (c) 2006, Google Inc. |
| 2 // All rights reserved. | 2 // All rights reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
| 9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
| 10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 // URL parameters. Defaults to 'google'. | 151 // URL parameters. Defaults to 'google'. |
| 152 // | 152 // |
| 153 // BREAKPAD_SERVER_PARAMETER_DICT A plist dictionary of static | 153 // BREAKPAD_SERVER_PARAMETER_DICT A plist dictionary of static |
| 154 // parameters that are uploaded to the | 154 // parameters that are uploaded to the |
| 155 // server. The parameters are sent as | 155 // server. The parameters are sent as |
| 156 // is to the crash server. Their | 156 // is to the crash server. Their |
| 157 // content isn't added to the minidump | 157 // content isn't added to the minidump |
| 158 // but pass as URL parameters when | 158 // but pass as URL parameters when |
| 159 // uploading theminidump to the crash | 159 // uploading theminidump to the crash |
| 160 // server. | 160 // server. |
| 161 // |
| 162 // BREAKPAD_IN_PROCESS A boolean NSNumber value. If YES, Breakpad |
| 163 // will write the dump file in-process and then |
| 164 // launch the reporter executable as a child |
| 165 // process. |
| 161 //============================================================================= | 166 //============================================================================= |
| 162 // The BREAKPAD_PRODUCT, BREAKPAD_VERSION and BREAKPAD_URL are | 167 // The BREAKPAD_PRODUCT, BREAKPAD_VERSION and BREAKPAD_URL are |
| 163 // required to have non-NULL values. By default, the BREAKPAD_PRODUCT | 168 // required to have non-NULL values. By default, the BREAKPAD_PRODUCT |
| 164 // will be the CFBundleName and the BREAKPAD_VERSION will be the | 169 // will be the CFBundleName and the BREAKPAD_VERSION will be the |
| 165 // CFBundleVersion when these keys are present in the bundle's | 170 // CFBundleVersion when these keys are present in the bundle's |
| 166 // Info.plist, which is usually passed in to BreakpadCreate() as an | 171 // Info.plist, which is usually passed in to BreakpadCreate() as an |
| 167 // NSDictionary (you could also pass in another dictionary that had | 172 // NSDictionary (you could also pass in another dictionary that had |
| 168 // the same keys configured). If the BREAKPAD_PRODUCT or | 173 // the same keys configured). If the BREAKPAD_PRODUCT or |
| 169 // BREAKPAD_VERSION are ultimately undefined, BreakpadCreate() will | 174 // BREAKPAD_VERSION are ultimately undefined, BreakpadCreate() will |
| 170 // fail. You have been warned. | 175 // fail. You have been warned. |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 | 276 |
| 272 // Add a log file for Breakpad to read and send upon crash dump | 277 // Add a log file for Breakpad to read and send upon crash dump |
| 273 void BreakpadAddLogFile(BreakpadRef ref, NSString *logPathname); | 278 void BreakpadAddLogFile(BreakpadRef ref, NSString *logPathname); |
| 274 | 279 |
| 275 // Generate a minidump and send | 280 // Generate a minidump and send |
| 276 void BreakpadGenerateAndSendReport(BreakpadRef ref); | 281 void BreakpadGenerateAndSendReport(BreakpadRef ref); |
| 277 | 282 |
| 278 #ifdef __cplusplus | 283 #ifdef __cplusplus |
| 279 } | 284 } |
| 280 #endif | 285 #endif |
| OLD | NEW |