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 #include "chrome/common/chrome_constants.h" | 5 #include "chrome/common/chrome_constants.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 #include "chrome/common/chrome_version.h" | 8 #include "chrome/common/chrome_version.h" |
9 | 9 |
10 #define FPL FILE_PATH_LITERAL | 10 #define FPL FILE_PATH_LITERAL |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 const base::FilePath::CharType kHelperProcessExecutablePath[] = FPL("chrome"); | 113 const base::FilePath::CharType kHelperProcessExecutablePath[] = FPL("chrome"); |
114 #endif // OS_* | 114 #endif // OS_* |
115 | 115 |
116 #if defined(OS_MACOSX) | 116 #if defined(OS_MACOSX) |
117 const base::FilePath::CharType kFrameworkName[] = | 117 const base::FilePath::CharType kFrameworkName[] = |
118 FPL(PRODUCT_STRING " Framework.framework"); | 118 FPL(PRODUCT_STRING " Framework.framework"); |
119 #endif // OS_MACOSX | 119 #endif // OS_MACOSX |
120 | 120 |
121 #if defined(OS_WIN) | 121 #if defined(OS_WIN) |
122 const base::FilePath::CharType kBrowserResourcesDll[] = FPL("chrome.dll"); | 122 const base::FilePath::CharType kBrowserResourcesDll[] = FPL("chrome.dll"); |
| 123 const base::FilePath::CharType kChromeElfDllName[] = FPL("chrome_elf.dll"); |
123 const base::FilePath::CharType kStatusTrayWindowClass[] = | 124 const base::FilePath::CharType kStatusTrayWindowClass[] = |
124 FPL("Chrome_StatusTrayWindow"); | 125 FPL("Chrome_StatusTrayWindow"); |
125 #endif // defined(OS_WIN) | 126 #endif // defined(OS_WIN) |
126 | 127 |
127 const char kInitialProfile[] = "Default"; | 128 const char kInitialProfile[] = "Default"; |
128 const char kMultiProfileDirPrefix[] = "Profile "; | 129 const char kMultiProfileDirPrefix[] = "Profile "; |
129 const base::FilePath::CharType kGuestProfileDir[] = FPL("Guest Profile"); | 130 const base::FilePath::CharType kGuestProfileDir[] = FPL("Guest Profile"); |
130 const base::FilePath::CharType kSystemProfileDir[] = FPL("System Profile"); | 131 const base::FilePath::CharType kSystemProfileDir[] = FPL("System Profile"); |
131 | 132 |
132 // filenames | 133 // filenames |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 const wchar_t kUserDataDirname[] = L"User Data"; | 195 const wchar_t kUserDataDirname[] = L"User Data"; |
195 #endif | 196 #endif |
196 | 197 |
197 const float kMaxShareOfExtensionProcesses = 0.30f; | 198 const float kMaxShareOfExtensionProcesses = 0.30f; |
198 | 199 |
199 #if defined(OS_LINUX) | 200 #if defined(OS_LINUX) |
200 const int kLowestRendererOomScore = 300; | 201 const int kLowestRendererOomScore = 300; |
201 const int kHighestRendererOomScore = 1000; | 202 const int kHighestRendererOomScore = 1000; |
202 #endif | 203 #endif |
203 | 204 |
204 #if defined(OS_WIN) | |
205 const wchar_t kMetroNavigationAndSearchMessage[] = | |
206 L"CHROME_METRO_NAV_SEARCH_REQUEST"; | |
207 const wchar_t kMetroGetCurrentTabInfoMessage[] = | |
208 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; | |
209 #endif | |
210 | |
211 #if defined(OS_CHROMEOS) | 205 #if defined(OS_CHROMEOS) |
212 const char kProfileDirPrefix[] = "u-"; | 206 const char kProfileDirPrefix[] = "u-"; |
213 const char kLegacyProfileDir[] = "user"; | 207 const char kLegacyProfileDir[] = "user"; |
214 const char kTestUserProfileDir[] = "test-user"; | 208 const char kTestUserProfileDir[] = "test-user"; |
215 #endif | 209 #endif |
216 | 210 |
217 // This GUID is associated with any 'don't ask me again' settings that the | 211 // This GUID is associated with any 'don't ask me again' settings that the |
218 // user can select for different file types. | 212 // user can select for different file types. |
219 // {2676A9A2-D919-4FEE-9187-152100393AB2} | 213 // {2676A9A2-D919-4FEE-9187-152100393AB2} |
220 const char kApplicationClientIDStringForAVScanning[] = | 214 const char kApplicationClientIDStringForAVScanning[] = |
221 "2676A9A2-D919-4FEE-9187-152100393AB2"; | 215 "2676A9A2-D919-4FEE-9187-152100393AB2"; |
222 | 216 |
223 const size_t kMaxMetaTagAttributeLength = 2000; | 217 const size_t kMaxMetaTagAttributeLength = 2000; |
224 | 218 |
225 } // namespace chrome | 219 } // namespace chrome |
226 | 220 |
227 #undef FPL | 221 #undef FPL |
OLD | NEW |