Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Side by Side Diff: chrome/common/chrome_constants.h

Issue 717223002: Browser watcher end-end-to-end . (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/lkgr
Patch Set: Address Erik's comments. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/chrome_exe.gypi ('k') | chrome/common/chrome_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // Used by Metro Chrome to get information about the current tab. 132 // Used by Metro Chrome to get information about the current tab.
133 extern const wchar_t kMetroGetCurrentTabInfoMessage[]; 133 extern const wchar_t kMetroGetCurrentTabInfoMessage[];
134 // Used by Metro Chrome to store activation state. 134 // Used by Metro Chrome to store activation state.
135 extern const wchar_t kMetroRegistryPath[]; 135 extern const wchar_t kMetroRegistryPath[];
136 extern const wchar_t kLaunchModeValue[]; 136 extern const wchar_t kLaunchModeValue[];
137 // Used by the browser as a container in which to track unreported crash dump 137 // Used by the browser as a container in which to track unreported crash dump
138 // attempts. The actual values (each representing one crash dump attempt) are 138 // attempts. The actual values (each representing one crash dump attempt) are
139 // stored in a subkey named with the version number of the build. Each value 139 // stored in a subkey named with the version number of the build. Each value
140 // under the subkey represents an additional attempt. 140 // under the subkey represents an additional attempt.
141 extern const wchar_t kBrowserCrashDumpAttemptsRegistryPath[]; 141 extern const wchar_t kBrowserCrashDumpAttemptsRegistryPath[];
142 // Registry location where the browser watcher stores browser exit codes.
143 // This is picked up and stored in histograms by the browser on the subsequent
144 // launch.
145 extern const wchar_t kBrowserExitCodesRegistryPath[];
142 // Used by chrome.exe to signal that chrome.dll was started via a key sequence 146 // Used by chrome.exe to signal that chrome.dll was started via a key sequence
143 // that requires it to start in safe mode. For example, in software rendering. 147 // that requires it to start in safe mode. For example, in software rendering.
144 extern const char kSafeModeEnvVar[]; 148 extern const char kSafeModeEnvVar[];
145 #endif 149 #endif
146 150
147 #if defined(OS_CHROMEOS) 151 #if defined(OS_CHROMEOS)
148 // Chrome OS profile directories have custom prefix. 152 // Chrome OS profile directories have custom prefix.
149 // Profile path format: [user_data_dir]/u-[$hash] 153 // Profile path format: [user_data_dir]/u-[$hash]
150 // Ex.: /home/chronos/u-0123456789 154 // Ex.: /home/chronos/u-0123456789
151 extern const char kProfileDirPrefix[]; 155 extern const char kProfileDirPrefix[];
152 156
153 // Legacy profile dir that was used when only one cryptohome has been mounted. 157 // Legacy profile dir that was used when only one cryptohome has been mounted.
154 extern const char kLegacyProfileDir[]; 158 extern const char kLegacyProfileDir[];
155 159
156 // This must be kept in sync with TestingProfile::kTestUserProfileDir. 160 // This must be kept in sync with TestingProfile::kTestUserProfileDir.
157 extern const char kTestUserProfileDir[]; 161 extern const char kTestUserProfileDir[];
158 #endif 162 #endif
159 163
160 // Used to identify the application to the system AV function in Windows. 164 // Used to identify the application to the system AV function in Windows.
161 extern const char kApplicationClientIDStringForAVScanning[]; 165 extern const char kApplicationClientIDStringForAVScanning[];
162 166
163 // The largest reasonable length we'd assume for a meta tag attribute. 167 // The largest reasonable length we'd assume for a meta tag attribute.
164 extern const size_t kMaxMetaTagAttributeLength; 168 extern const size_t kMaxMetaTagAttributeLength;
165 169
166 } // namespace chrome 170 } // namespace chrome
167 171
168 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ 172 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/chrome_exe.gypi ('k') | chrome/common/chrome_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698