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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 const wchar_t kUserDataDirname[] = L"User Data"; | 192 const wchar_t kUserDataDirname[] = L"User Data"; |
194 #endif | 193 #endif |
195 | 194 |
196 const float kMaxShareOfExtensionProcesses = 0.30f; | 195 const float kMaxShareOfExtensionProcesses = 0.30f; |
197 | 196 |
198 #if defined(OS_LINUX) | 197 #if defined(OS_LINUX) |
199 const int kLowestRendererOomScore = 300; | 198 const int kLowestRendererOomScore = 300; |
200 const int kHighestRendererOomScore = 1000; | 199 const int kHighestRendererOomScore = 1000; |
201 #endif | 200 #endif |
202 | 201 |
| 202 #if defined(OS_WIN) |
| 203 const wchar_t kMetroNavigationAndSearchMessage[] = |
| 204 L"CHROME_METRO_NAV_SEARCH_REQUEST"; |
| 205 const wchar_t kMetroGetCurrentTabInfoMessage[] = |
| 206 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; |
| 207 #endif |
| 208 |
203 #if defined(OS_CHROMEOS) | 209 #if defined(OS_CHROMEOS) |
204 const char kProfileDirPrefix[] = "u-"; | 210 const char kProfileDirPrefix[] = "u-"; |
205 const char kLegacyProfileDir[] = "user"; | 211 const char kLegacyProfileDir[] = "user"; |
206 const char kTestUserProfileDir[] = "test-user"; | 212 const char kTestUserProfileDir[] = "test-user"; |
207 #endif | 213 #endif |
208 | 214 |
209 // This GUID is associated with any 'don't ask me again' settings that the | 215 // This GUID is associated with any 'don't ask me again' settings that the |
210 // user can select for different file types. | 216 // user can select for different file types. |
211 // {2676A9A2-D919-4FEE-9187-152100393AB2} | 217 // {2676A9A2-D919-4FEE-9187-152100393AB2} |
212 const char kApplicationClientIDStringForAVScanning[] = | 218 const char kApplicationClientIDStringForAVScanning[] = |
213 "2676A9A2-D919-4FEE-9187-152100393AB2"; | 219 "2676A9A2-D919-4FEE-9187-152100393AB2"; |
214 | 220 |
215 const size_t kMaxMetaTagAttributeLength = 2000; | 221 const size_t kMaxMetaTagAttributeLength = 2000; |
216 | 222 |
217 } // namespace chrome | 223 } // namespace chrome |
218 | 224 |
219 #undef FPL | 225 #undef FPL |
OLD | NEW |