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