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"); | |
124 const base::FilePath::CharType kStatusTrayWindowClass[] = | 123 const base::FilePath::CharType kStatusTrayWindowClass[] = |
125 FPL("Chrome_StatusTrayWindow"); | 124 FPL("Chrome_StatusTrayWindow"); |
126 #endif // defined(OS_WIN) | 125 #endif // defined(OS_WIN) |
127 | 126 |
128 const char kInitialProfile[] = "Default"; | 127 const char kInitialProfile[] = "Default"; |
129 const char kMultiProfileDirPrefix[] = "Profile "; | 128 const char kMultiProfileDirPrefix[] = "Profile "; |
130 const base::FilePath::CharType kGuestProfileDir[] = FPL("Guest Profile"); | 129 const base::FilePath::CharType kGuestProfileDir[] = FPL("Guest Profile"); |
131 const base::FilePath::CharType kSystemProfileDir[] = FPL("System Profile"); | 130 const base::FilePath::CharType kSystemProfileDir[] = FPL("System Profile"); |
132 | 131 |
133 // filenames | 132 // filenames |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 const wchar_t kUserDataDirname[] = L"User Data"; | 194 const wchar_t kUserDataDirname[] = L"User Data"; |
196 #endif | 195 #endif |
197 | 196 |
198 const float kMaxShareOfExtensionProcesses = 0.30f; | 197 const float kMaxShareOfExtensionProcesses = 0.30f; |
199 | 198 |
200 #if defined(OS_LINUX) | 199 #if defined(OS_LINUX) |
201 const int kLowestRendererOomScore = 300; | 200 const int kLowestRendererOomScore = 300; |
202 const int kHighestRendererOomScore = 1000; | 201 const int kHighestRendererOomScore = 1000; |
203 #endif | 202 #endif |
204 | 203 |
| 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 |
205 #if defined(OS_CHROMEOS) | 211 #if defined(OS_CHROMEOS) |
206 const char kProfileDirPrefix[] = "u-"; | 212 const char kProfileDirPrefix[] = "u-"; |
207 const char kLegacyProfileDir[] = "user"; | 213 const char kLegacyProfileDir[] = "user"; |
208 const char kTestUserProfileDir[] = "test-user"; | 214 const char kTestUserProfileDir[] = "test-user"; |
209 #endif | 215 #endif |
210 | 216 |
211 // This GUID is associated with any 'don't ask me again' settings that the | 217 // This GUID is associated with any 'don't ask me again' settings that the |
212 // user can select for different file types. | 218 // user can select for different file types. |
213 // {2676A9A2-D919-4FEE-9187-152100393AB2} | 219 // {2676A9A2-D919-4FEE-9187-152100393AB2} |
214 const char kApplicationClientIDStringForAVScanning[] = | 220 const char kApplicationClientIDStringForAVScanning[] = |
215 "2676A9A2-D919-4FEE-9187-152100393AB2"; | 221 "2676A9A2-D919-4FEE-9187-152100393AB2"; |
216 | 222 |
217 const size_t kMaxMetaTagAttributeLength = 2000; | 223 const size_t kMaxMetaTagAttributeLength = 2000; |
218 | 224 |
219 } // namespace chrome | 225 } // namespace chrome |
220 | 226 |
221 #undef FPL | 227 #undef FPL |
OLD | NEW |