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 // A handful of resource-like constants related to the Chrome application. | 5 // A handful of resource-like constants related to the Chrome application. |
6 | 6 |
7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_ | 7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_ |
8 #define CHROME_COMMON_CHROME_CONSTANTS_H_ | 8 #define CHROME_COMMON_CHROME_CONSTANTS_H_ |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 // Used by Metro Chrome to get information about the current tab. | 140 // Used by Metro Chrome to get information about the current tab. |
141 extern const wchar_t kMetroGetCurrentTabInfoMessage[]; | 141 extern const wchar_t kMetroGetCurrentTabInfoMessage[]; |
142 // Used by Metro Chrome to store activation state. | 142 // Used by Metro Chrome to store activation state. |
143 extern const wchar_t kMetroRegistryPath[]; | 143 extern const wchar_t kMetroRegistryPath[]; |
144 extern const wchar_t kLaunchModeValue[]; | 144 extern const wchar_t kLaunchModeValue[]; |
145 // Used by the browser as a container in which to track unreported crash dump | 145 // Used by the browser as a container in which to track unreported crash dump |
146 // attempts. The actual values (each representing one crash dump attempt) are | 146 // attempts. The actual values (each representing one crash dump attempt) are |
147 // stored in a subkey named with the version number of the build. Each value | 147 // stored in a subkey named with the version number of the build. Each value |
148 // under the subkey represents an additional attempt. | 148 // under the subkey represents an additional attempt. |
149 extern const wchar_t kBrowserCrashDumpAttemptsRegistryPath[]; | 149 extern const wchar_t kBrowserCrashDumpAttemptsRegistryPath[]; |
| 150 // Registry location where the browser watcher stores browser exit codes. |
| 151 // This is picked up and stored in histograms by the browser on the subsequent |
| 152 // launch. |
| 153 extern const wchar_t kBrowserExitCodesRegistryPath[]; |
150 // Used by chrome.exe to signal that chrome.dll was started via a key sequence | 154 // Used by chrome.exe to signal that chrome.dll was started via a key sequence |
151 // that requires it to start in safe mode. For example, in software rendering. | 155 // that requires it to start in safe mode. For example, in software rendering. |
152 extern const char kSafeModeEnvVar[]; | 156 extern const char kSafeModeEnvVar[]; |
153 #endif | 157 #endif |
154 | 158 |
155 #if defined(OS_CHROMEOS) | 159 #if defined(OS_CHROMEOS) |
156 // Chrome OS profile directories have custom prefix. | 160 // Chrome OS profile directories have custom prefix. |
157 // Profile path format: [user_data_dir]/u-[$hash] | 161 // Profile path format: [user_data_dir]/u-[$hash] |
158 // Ex.: /home/chronos/u-0123456789 | 162 // Ex.: /home/chronos/u-0123456789 |
159 extern const char kProfileDirPrefix[]; | 163 extern const char kProfileDirPrefix[]; |
160 | 164 |
161 // Legacy profile dir that was used when only one cryptohome has been mounted. | 165 // Legacy profile dir that was used when only one cryptohome has been mounted. |
162 extern const char kLegacyProfileDir[]; | 166 extern const char kLegacyProfileDir[]; |
163 | 167 |
164 // This must be kept in sync with TestingProfile::kTestUserProfileDir. | 168 // This must be kept in sync with TestingProfile::kTestUserProfileDir. |
165 extern const char kTestUserProfileDir[]; | 169 extern const char kTestUserProfileDir[]; |
166 #endif | 170 #endif |
167 | 171 |
168 // Used to identify the application to the system AV function in Windows. | 172 // Used to identify the application to the system AV function in Windows. |
169 extern const char kApplicationClientIDStringForAVScanning[]; | 173 extern const char kApplicationClientIDStringForAVScanning[]; |
170 | 174 |
171 // The largest reasonable length we'd assume for a meta tag attribute. | 175 // The largest reasonable length we'd assume for a meta tag attribute. |
172 extern const size_t kMaxMetaTagAttributeLength; | 176 extern const size_t kMaxMetaTagAttributeLength; |
173 | 177 |
174 } // namespace chrome | 178 } // namespace chrome |
175 | 179 |
176 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 180 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
OLD | NEW |