| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 DISALLOW_COPY_AND_ASSIGN(ScopedPrinterInfo); | 44 DISALLOW_COPY_AND_ASSIGN(ScopedPrinterInfo); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 // Crash Key Name Constants //////////////////////////////////////////////////// | 47 // Crash Key Name Constants //////////////////////////////////////////////////// |
| 48 | 48 |
| 49 // The URL of the active tab. | 49 // The URL of the active tab. |
| 50 extern const char kActiveURL[]; | 50 extern const char kActiveURL[]; |
| 51 | 51 |
| 52 // Process command line switches. |kSwitch| should be formatted with an integer, | |
| 53 // in the range [1, kSwitchesMaxCount]. | |
| 54 const size_t kSwitchesMaxCount = 15; | |
| 55 extern const char kSwitch[]; | |
| 56 // The total number of switches, used to report the total in case more than | |
| 57 // |kSwitchesMaxCount| are present. | |
| 58 extern const char kNumSwitches[]; | |
| 59 | |
| 60 // Installed extensions. |kExtensionID| should be formatted with an integer, | 52 // Installed extensions. |kExtensionID| should be formatted with an integer, |
| 61 // in the range [0, kExtensionIDMaxCount). | 53 // in the range [0, kExtensionIDMaxCount). |
| 62 const size_t kExtensionIDMaxCount = 10; | 54 const size_t kExtensionIDMaxCount = 10; |
| 63 extern const char kExtensionID[]; | 55 extern const char kExtensionID[]; |
| 64 // The total number of installed extensions, recorded in case it exceeds | 56 // The total number of installed extensions, recorded in case it exceeds |
| 65 // kExtensionIDMaxCount. Also used in chrome/app, but defined here to avoid | 57 // kExtensionIDMaxCount. Also used in chrome/app, but defined here to avoid |
| 66 // a common->app dependency. | 58 // a common->app dependency. |
| 67 extern const char kNumExtensionsCount[]; | 59 extern const char kNumExtensionsCount[]; |
| 68 | 60 |
| 69 // Type of shutdown. The value is one of "close" for WINDOW_CLOSE, | 61 // Type of shutdown. The value is one of "close" for WINDOW_CLOSE, |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 // Numbers of active views. | 118 // Numbers of active views. |
| 127 extern const char kViewCount[]; | 119 extern const char kViewCount[]; |
| 128 | 120 |
| 129 // TEMPORARY: The encoder/frame details at the time a zero-length encoded frame | 121 // TEMPORARY: The encoder/frame details at the time a zero-length encoded frame |
| 130 // was encountered. http://crbug.com/519022 | 122 // was encountered. http://crbug.com/519022 |
| 131 extern const char kZeroEncodeDetails[]; | 123 extern const char kZeroEncodeDetails[]; |
| 132 | 124 |
| 133 } // namespace crash_keys | 125 } // namespace crash_keys |
| 134 | 126 |
| 135 #endif // CHROME_COMMON_CRASH_KEYS_H_ | 127 #endif // CHROME_COMMON_CRASH_KEYS_H_ |
| OLD | NEW |