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 "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 | 8 |
9 #define FPL FILE_PATH_LITERAL | 9 #define FPL FILE_PATH_LITERAL |
10 | 10 |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 235 |
236 // This is used by the PreRead experiment. | 236 // This is used by the PreRead experiment. |
237 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT"; | 237 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT"; |
238 | 238 |
239 #if defined(OS_LINUX) | 239 #if defined(OS_LINUX) |
240 const int kLowestRendererOomScore = 300; | 240 const int kLowestRendererOomScore = 300; |
241 const int kHighestRendererOomScore = 1000; | 241 const int kHighestRendererOomScore = 1000; |
242 #endif | 242 #endif |
243 | 243 |
244 #if defined(OS_WIN) | 244 #if defined(OS_WIN) |
245 // This is used by chrome in Windows 8 metro mode. | |
246 const wchar_t kMetroChromeUserDataSubDir[] = L"Metro"; | |
247 const wchar_t kMetroNavigationAndSearchMessage[] = | 245 const wchar_t kMetroNavigationAndSearchMessage[] = |
248 L"CHROME_METRO_NAV_SEARCH_REQUEST"; | 246 L"CHROME_METRO_NAV_SEARCH_REQUEST"; |
249 const wchar_t kMetroGetCurrentTabInfoMessage[] = | 247 const wchar_t kMetroGetCurrentTabInfoMessage[] = |
250 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; | 248 L"CHROME_METRO_GET_CURRENT_TAB_INFO"; |
251 const wchar_t kMetroRegistryPath[] = | 249 const wchar_t kMetroRegistryPath[] = |
252 L"Software\\" PRODUCT_STRING_PATH L"\\Metro"; | 250 L"Software\\" PRODUCT_STRING_PATH L"\\Metro"; |
253 const wchar_t kLaunchModeValue[] = L"launch_mode"; | 251 const wchar_t kLaunchModeValue[] = L"launch_mode"; |
254 // This is used by breakpad and the metrics reporting. | 252 // This is used by breakpad and the metrics reporting. |
255 const wchar_t kBrowserCrashDumpAttemptsRegistryPath[] = | 253 const wchar_t kBrowserCrashDumpAttemptsRegistryPath[] = |
256 L"Software\\" PRODUCT_STRING_PATH L"\\BrowserCrashDumpAttempts"; | 254 L"Software\\" PRODUCT_STRING_PATH L"\\BrowserCrashDumpAttempts"; |
(...skipping 12 matching lines...) Expand all Loading... |
269 const char kApplicationClientIDStringForAVScanning[] = | 267 const char kApplicationClientIDStringForAVScanning[] = |
270 "2676A9A2-D919-4FEE-9187-152100393AB2"; | 268 "2676A9A2-D919-4FEE-9187-152100393AB2"; |
271 | 269 |
272 #if defined(OS_ANDROID) | 270 #if defined(OS_ANDROID) |
273 const size_t kMaxMetaTagAttributeLength = 2000; | 271 const size_t kMaxMetaTagAttributeLength = 2000; |
274 #endif | 272 #endif |
275 | 273 |
276 } // namespace chrome | 274 } // namespace chrome |
277 | 275 |
278 #undef FPL | 276 #undef FPL |
OLD | NEW |