| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CHROME_COMMON_CRASH_KEYS_H_ | 5 #ifndef CHROME_COMMON_CRASH_KEYS_H_ |
| 6 #define CHROME_COMMON_CRASH_KEYS_H_ | 6 #define CHROME_COMMON_CRASH_KEYS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/debug/crash_logging.h" | 14 #include "base/debug/crash_logging.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
| 17 #include "components/crash/core/common/crash_keys.h" | 17 #include "components/crash/core/common/crash_keys.h" |
| 18 #include "third_party/kasko/kasko_features.h" | |
| 19 | 18 |
| 20 namespace base { | 19 namespace base { |
| 21 class CommandLine; | 20 class CommandLine; |
| 22 } | 21 } |
| 23 | 22 |
| 24 namespace crash_keys { | 23 namespace crash_keys { |
| 25 | 24 |
| 26 // Registers all of the potential crash keys that can be sent to the crash | 25 // Registers all of the potential crash keys that can be sent to the crash |
| 27 // reporting server. Returns the size of the union of all keys. | 26 // reporting server. Returns the size of the union of all keys. |
| 28 size_t RegisterChromeCrashKeys(); | 27 size_t RegisterChromeCrashKeys(); |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 // In the CrApplication, records information about the current event's | 140 // In the CrApplication, records information about the current event's |
| 142 // target-action. | 141 // target-action. |
| 143 extern const char kSendAction[]; | 142 extern const char kSendAction[]; |
| 144 | 143 |
| 145 // In the CrApplication, records information about the current event. | 144 // In the CrApplication, records information about the current event. |
| 146 extern const char kNSEvent[]; | 145 extern const char kNSEvent[]; |
| 147 | 146 |
| 148 } // namespace mac | 147 } // namespace mac |
| 149 #endif | 148 #endif |
| 150 | 149 |
| 151 #if BUILDFLAG(ENABLE_KASKO) | |
| 152 // Used to correlate a report sent via Kasko with one sent via Breakpad. | |
| 153 extern const char kKaskoGuid[]; | |
| 154 extern const char kKaskoEquivalentGuid[]; | |
| 155 #endif | |
| 156 | |
| 157 // Numbers of active views. | 150 // Numbers of active views. |
| 158 extern const char kViewCount[]; | 151 extern const char kViewCount[]; |
| 159 | 152 |
| 160 // TEMPORARY: The encoder/frame details at the time a zero-length encoded frame | 153 // TEMPORARY: The encoder/frame details at the time a zero-length encoded frame |
| 161 // was encountered. http://crbug.com/519022 | 154 // was encountered. http://crbug.com/519022 |
| 162 extern const char kZeroEncodeDetails[]; | 155 extern const char kZeroEncodeDetails[]; |
| 163 | 156 |
| 164 } // namespace crash_keys | 157 } // namespace crash_keys |
| 165 | 158 |
| 166 #endif // CHROME_COMMON_CRASH_KEYS_H_ | 159 #endif // CHROME_COMMON_CRASH_KEYS_H_ |
| OLD | NEW |