| OLD | NEW |
| 1 // Copyright (c) 2012 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 #ifndef BASE_DEBUG_CRASH_LOGGING_H_ | 5 #ifndef BASE_DEBUG_CRASH_LOGGING_H_ |
| 6 #define BASE_DEBUG_CRASH_LOGGING_H_ | 6 #define BASE_DEBUG_CRASH_LOGGING_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 SetCrashKeyValueFuncT set_key_func, | 88 SetCrashKeyValueFuncT set_key_func, |
| 89 ClearCrashKeyValueFuncT clear_key_func); | 89 ClearCrashKeyValueFuncT clear_key_func); |
| 90 | 90 |
| 91 // Helper function that breaks up a value according to the parameters | 91 // Helper function that breaks up a value according to the parameters |
| 92 // specified by the crash key object. | 92 // specified by the crash key object. |
| 93 BASE_EXPORT std::vector<std::string> ChunkCrashKeyValue( | 93 BASE_EXPORT std::vector<std::string> ChunkCrashKeyValue( |
| 94 const CrashKey& crash_key, | 94 const CrashKey& crash_key, |
| 95 const base::StringPiece& value, | 95 const base::StringPiece& value, |
| 96 size_t chunk_max_length); | 96 size_t chunk_max_length); |
| 97 | 97 |
| 98 // Resets the crash key system so it can be reinitialized. For testing only. | |
| 99 BASE_EXPORT void ResetCrashLoggingForTesting(); | |
| 100 | |
| 101 } // namespace debug | 98 } // namespace debug |
| 102 } // namespace base | 99 } // namespace base |
| 103 | 100 |
| 104 #endif // BASE_DEBUG_CRASH_LOGGING_H_ | 101 #endif // BASE_DEBUG_CRASH_LOGGING_H_ |
| OLD | NEW |