| 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 <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "base/base_export.h" | 13 #include "base/base_export.h" |
| 12 #include "base/basictypes.h" | 14 #include "base/macros.h" |
| 13 #include "base/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
| 14 | 16 |
| 15 // These functions add metadata to the upload payload when sending crash reports | 17 // These functions add metadata to the upload payload when sending crash reports |
| 16 // to the crash server. | 18 // to the crash server. |
| 17 // | 19 // |
| 18 // IMPORTANT: On OS X and Linux, the key/value pairs are only sent as part of | 20 // IMPORTANT: On OS X and Linux, the key/value pairs are only sent as part of |
| 19 // the upload and are not included in the minidump! | 21 // the upload and are not included in the minidump! |
| 20 | 22 |
| 21 namespace base { | 23 namespace base { |
| 22 namespace debug { | 24 namespace debug { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 const base::StringPiece& value, | 97 const base::StringPiece& value, |
| 96 size_t chunk_max_length); | 98 size_t chunk_max_length); |
| 97 | 99 |
| 98 // Resets the crash key system so it can be reinitialized. For testing only. | 100 // Resets the crash key system so it can be reinitialized. For testing only. |
| 99 BASE_EXPORT void ResetCrashLoggingForTesting(); | 101 BASE_EXPORT void ResetCrashLoggingForTesting(); |
| 100 | 102 |
| 101 } // namespace debug | 103 } // namespace debug |
| 102 } // namespace base | 104 } // namespace base |
| 103 | 105 |
| 104 #endif // BASE_DEBUG_CRASH_LOGGING_H_ | 106 #endif // BASE_DEBUG_CRASH_LOGGING_H_ |
| OLD | NEW |