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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 extern const char kPreReadEnvironmentVariable[]; | 118 extern const char kPreReadEnvironmentVariable[]; |
119 | 119 |
120 #if defined(OS_LINUX) | 120 #if defined(OS_LINUX) |
121 // The highest and lowest assigned OOM score adjustment | 121 // The highest and lowest assigned OOM score adjustment |
122 // (oom_score_adj) used by the OomPriority Manager. | 122 // (oom_score_adj) used by the OomPriority Manager. |
123 extern const int kLowestRendererOomScore; | 123 extern const int kLowestRendererOomScore; |
124 extern const int kHighestRendererOomScore; | 124 extern const int kHighestRendererOomScore; |
125 #endif | 125 #endif |
126 | 126 |
127 #if defined(OS_WIN) | 127 #if defined(OS_WIN) |
128 // Used by Metro Chrome to create the profile under a custom subdirectory. | |
129 extern const wchar_t kMetroChromeUserDataSubDir[]; | |
130 // Used by Metro Chrome to initiate navigation and search requests. | 128 // Used by Metro Chrome to initiate navigation and search requests. |
131 extern const wchar_t kMetroNavigationAndSearchMessage[]; | 129 extern const wchar_t kMetroNavigationAndSearchMessage[]; |
132 // Used by Metro Chrome to get information about the current tab. | 130 // Used by Metro Chrome to get information about the current tab. |
133 extern const wchar_t kMetroGetCurrentTabInfoMessage[]; | 131 extern const wchar_t kMetroGetCurrentTabInfoMessage[]; |
134 // Used by Metro Chrome to store activation state. | 132 // Used by Metro Chrome to store activation state. |
135 extern const wchar_t kMetroRegistryPath[]; | 133 extern const wchar_t kMetroRegistryPath[]; |
136 extern const wchar_t kLaunchModeValue[]; | 134 extern const wchar_t kLaunchModeValue[]; |
137 // Used by the browser as a container in which to track unreported crash dump | 135 // 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 | 136 // 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 | 137 // stored in a subkey named with the version number of the build. Each value |
(...skipping 21 matching lines...) Expand all Loading... |
161 extern const char kApplicationClientIDStringForAVScanning[]; | 159 extern const char kApplicationClientIDStringForAVScanning[]; |
162 | 160 |
163 #if defined(OS_ANDROID) | 161 #if defined(OS_ANDROID) |
164 // The largest reasonable length we'd assume for a meta tag attribute. | 162 // The largest reasonable length we'd assume for a meta tag attribute. |
165 extern const size_t kMaxMetaTagAttributeLength; | 163 extern const size_t kMaxMetaTagAttributeLength; |
166 #endif | 164 #endif |
167 | 165 |
168 } // namespace chrome | 166 } // namespace chrome |
169 | 167 |
170 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 168 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
OLD | NEW |