| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Support for collecting useful information when crashing. | 5 // Support for collecting useful information when crashing. |
| 6 | 6 |
| 7 #ifndef BASE_CRASH_H_ | 7 #ifndef BASE_CRASH_H_ |
| 8 #define BASE_CRASH_H_ | 8 #define BASE_CRASH_H_ |
| 9 | 9 |
| 10 namespace base { | 10 namespace base { |
| 11 | 11 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 32 // crash. The reason and its contents must remain live for the life | 32 // crash. The reason and its contents must remain live for the life |
| 33 // of the process. Only the first reason is kept. | 33 // of the process. Only the first reason is kept. |
| 34 void SetCrashReason(const CrashReason* reason); | 34 void SetCrashReason(const CrashReason* reason); |
| 35 | 35 |
| 36 // Returns first reason passed to SetCrashReason(), or NULL. | 36 // Returns first reason passed to SetCrashReason(), or NULL. |
| 37 const CrashReason* GetCrashReason(); | 37 const CrashReason* GetCrashReason(); |
| 38 | 38 |
| 39 } // namespace base | 39 } // namespace base |
| 40 | 40 |
| 41 #endif // BASE_CRASH_H_ | 41 #endif // BASE_CRASH_H_ |
| OLD | NEW |