| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 // Installed extensions. |kExtensionID| should be formatted with an integer, | 80 // Installed extensions. |kExtensionID| should be formatted with an integer, |
| 81 // in the range [0, kExtensionIDMaxCount). | 81 // in the range [0, kExtensionIDMaxCount). |
| 82 const size_t kExtensionIDMaxCount = 10; | 82 const size_t kExtensionIDMaxCount = 10; |
| 83 extern const char kExtensionID[]; | 83 extern const char kExtensionID[]; |
| 84 // The total number of installed extensions, recorded in case it exceeds | 84 // The total number of installed extensions, recorded in case it exceeds |
| 85 // kExtensionIDMaxCount. Also used in chrome/app, but defined here to avoid | 85 // kExtensionIDMaxCount. Also used in chrome/app, but defined here to avoid |
| 86 // a common->app dependency. | 86 // a common->app dependency. |
| 87 extern const char kNumExtensionsCount[]; | 87 extern const char kNumExtensionsCount[]; |
| 88 | 88 |
| 89 // The number of render views/tabs open in a renderer process. | |
| 90 extern const char kNumberOfViews[]; | |
| 91 | |
| 92 // Type of shutdown. The value is one of "close" for WINDOW_CLOSE, | 89 // Type of shutdown. The value is one of "close" for WINDOW_CLOSE, |
| 93 // "exit" for BROWSER_EXIT, or "end" for END_SESSION. | 90 // "exit" for BROWSER_EXIT, or "end" for END_SESSION. |
| 94 extern const char kShutdownType[]; | 91 extern const char kShutdownType[]; |
| 95 | 92 |
| 96 // GPU information. | 93 // GPU information. |
| 97 #if !defined(OS_ANDROID) | 94 #if !defined(OS_ANDROID) |
| 98 extern const char kGPUVendorID[]; | 95 extern const char kGPUVendorID[]; |
| 99 extern const char kGPUDeviceID[]; | 96 extern const char kGPUDeviceID[]; |
| 100 #endif | 97 #endif |
| 101 extern const char kGPUDriverVersion[]; | 98 extern const char kGPUDriverVersion[]; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 // deliberate crash. | 138 // deliberate crash. |
| 142 extern const char kZombie[]; | 139 extern const char kZombie[]; |
| 143 extern const char kZombieTrace[]; | 140 extern const char kZombieTrace[]; |
| 144 | 141 |
| 145 } // namespace mac | 142 } // namespace mac |
| 146 #endif | 143 #endif |
| 147 | 144 |
| 148 } // namespace crash_keys | 145 } // namespace crash_keys |
| 149 | 146 |
| 150 #endif // CHROME_COMMON_CRASH_KEYS_H_ | 147 #endif // CHROME_COMMON_CRASH_KEYS_H_ |
| OLD | NEW |