| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
| 12 | 12 |
| 13 namespace chrome { | 13 namespace chrome { |
| 14 | 14 |
| 15 extern const char kChromeVersion[]; | 15 extern const char kChromeVersion[]; |
| 16 | 16 |
| 17 extern const char kChromeVersionEnvVar[]; | 17 extern const char kChromeVersionEnvVar[]; |
| 18 | 18 |
| 19 extern const FilePath::CharType kBrowserProcessExecutableName[]; | 19 extern const FilePath::CharType kBrowserProcessExecutableName[]; |
| 20 extern const FilePath::CharType kHelperProcessExecutableName[]; | 20 extern const FilePath::CharType kHelperProcessExecutableName[]; |
| 21 extern const FilePath::CharType kBrowserProcessExecutablePath[]; | 21 extern const FilePath::CharType kBrowserProcessExecutablePath[]; |
| 22 extern const FilePath::CharType kHelperProcessExecutablePath[]; | 22 extern const FilePath::CharType kHelperProcessExecutablePath[]; |
| 23 extern const FilePath::CharType kBrowserProcessExecutableNameChromium[]; | 23 extern const FilePath::CharType kBrowserProcessExecutableNameChromium[]; |
| 24 extern const FilePath::CharType kHelperProcessExecutableNameChromium[]; | 24 extern const FilePath::CharType kHelperProcessExecutableNameChromium[]; |
| 25 extern const FilePath::CharType kBrowserProcessExecutablePathChromium[]; | 25 extern const FilePath::CharType kBrowserProcessExecutablePathChromium[]; |
| 26 extern const FilePath::CharType kHelperProcessExecutablePathChromium[]; | 26 extern const FilePath::CharType kHelperProcessExecutablePathChromium[]; |
| 27 #if defined(OS_MACOSX) | 27 #if defined(OS_MACOSX) |
| 28 extern const FilePath::CharType kFrameworkName[]; | 28 extern const FilePath::CharType kFrameworkName[]; |
| 29 #endif | 29 |
| 30 // The helper .app bundle name and executable name may have one of these |
| 31 // suffixes to identify specific features, or it may have no suffix at all. |
| 32 // This is a NULL-terminated array of strings. If kHelperFlavorSuffixes |
| 33 // contains "EN", "MF", and NULL, it indicates that if the normal helper is |
| 34 // named Chromium Helper.app, helper executables could show up at any of |
| 35 // Chromium Helper.app/Contents/MacOS/Chromium Helper, |
| 36 // Chromium Helper EN.app/Contents/MacOS/Chromium Helper EN, and |
| 37 // Chromium Helper MF.app/Contents/MacOS/Chromium Helper MF. |
| 38 extern const FilePath::CharType* const kHelperFlavorSuffixes[]; |
| 39 #endif // OS_MACOSX |
| 30 extern const wchar_t kBrowserAppName[]; | 40 extern const wchar_t kBrowserAppName[]; |
| 31 #if defined(OS_WIN) | 41 #if defined(OS_WIN) |
| 32 extern const wchar_t kStatusTrayWindowClass[]; | 42 extern const wchar_t kStatusTrayWindowClass[]; |
| 33 #endif // defined(OS_WIN) | 43 #endif // defined(OS_WIN) |
| 34 extern const wchar_t kMessageWindowClass[]; | 44 extern const wchar_t kMessageWindowClass[]; |
| 35 extern const wchar_t kCrashReportLog[]; | 45 extern const wchar_t kCrashReportLog[]; |
| 36 extern const wchar_t kTestingInterfaceDLL[]; | 46 extern const wchar_t kTestingInterfaceDLL[]; |
| 37 extern const char kInitialProfile[]; | 47 extern const char kInitialProfile[]; |
| 38 extern const char kMultiProfileDirPrefix[]; | 48 extern const char kMultiProfileDirPrefix[]; |
| 39 extern const char kStatsFilename[]; | 49 extern const char kStatsFilename[]; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 #if defined(OS_LINUX) | 112 #if defined(OS_LINUX) |
| 103 // The highest and lowest assigned OOM score adjustment | 113 // The highest and lowest assigned OOM score adjustment |
| 104 // (oom_score_adj) used by the OomPriority Manager. | 114 // (oom_score_adj) used by the OomPriority Manager. |
| 105 extern const int kLowestRendererOomScore; | 115 extern const int kLowestRendererOomScore; |
| 106 extern const int kHighestRendererOomScore; | 116 extern const int kHighestRendererOomScore; |
| 107 #endif | 117 #endif |
| 108 | 118 |
| 109 } // namespace chrome | 119 } // namespace chrome |
| 110 | 120 |
| 111 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 121 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
| OLD | NEW |