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 // 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 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 extern const base::FilePath::CharType kBrowserProcessExecutableNameChromium[]; | 34 extern const base::FilePath::CharType kBrowserProcessExecutableNameChromium[]; |
35 extern const base::FilePath::CharType kHelperProcessExecutableNameChromium[]; | 35 extern const base::FilePath::CharType kHelperProcessExecutableNameChromium[]; |
36 extern const base::FilePath::CharType kBrowserProcessExecutablePathChromium[]; | 36 extern const base::FilePath::CharType kBrowserProcessExecutablePathChromium[]; |
37 extern const base::FilePath::CharType kHelperProcessExecutablePathChromium[]; | 37 extern const base::FilePath::CharType kHelperProcessExecutablePathChromium[]; |
38 #if defined(OS_MACOSX) | 38 #if defined(OS_MACOSX) |
39 // NOTE: if you change the value of kFrameworkName, please don't forget to | 39 // NOTE: if you change the value of kFrameworkName, please don't forget to |
40 // update components/test/run_all_unittests.cc as well. | 40 // update components/test/run_all_unittests.cc as well. |
41 // TODO(tfarina): Remove the comment above, when you fix components to use plist | 41 // TODO(tfarina): Remove the comment above, when you fix components to use plist |
42 // on Mac. | 42 // on Mac. |
43 extern const base::FilePath::CharType kFrameworkName[]; | 43 extern const base::FilePath::CharType kFrameworkName[]; |
44 | |
45 // The helper .app bundle name and executable name may have one of these | |
46 // suffixes to identify specific features, or it may have no suffix at all. | |
47 // This is a NULL-terminated array of strings. If kHelperFlavorSuffixes | |
48 // contains "EN", "MF", and NULL, it indicates that if the normal helper is | |
49 // named Chromium Helper.app, helper executables could show up at any of | |
50 // Chromium Helper.app/Contents/MacOS/Chromium Helper, | |
51 // Chromium Helper EN.app/Contents/MacOS/Chromium Helper EN, and | |
52 // Chromium Helper MF.app/Contents/MacOS/Chromium Helper MF. | |
53 extern const base::FilePath::CharType* const kHelperFlavorSuffixes[]; | |
54 #endif // OS_MACOSX | 44 #endif // OS_MACOSX |
55 #if defined(OS_WIN) | 45 #if defined(OS_WIN) |
56 extern const base::FilePath::CharType kBrowserResourcesDll[]; | 46 extern const base::FilePath::CharType kBrowserResourcesDll[]; |
57 extern const base::FilePath::CharType kMetroDriverDll[]; | 47 extern const base::FilePath::CharType kMetroDriverDll[]; |
58 extern const base::FilePath::CharType kStatusTrayWindowClass[]; | 48 extern const base::FilePath::CharType kStatusTrayWindowClass[]; |
59 #endif // defined(OS_WIN) | 49 #endif // defined(OS_WIN) |
60 | 50 |
61 extern const char kInitialProfile[]; | 51 extern const char kInitialProfile[]; |
62 extern const char kMultiProfileDirPrefix[]; | 52 extern const char kMultiProfileDirPrefix[]; |
63 extern const base::FilePath::CharType kGuestProfileDir[]; | 53 extern const base::FilePath::CharType kGuestProfileDir[]; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 143 |
154 // Used to identify the application to the system AV function in Windows. | 144 // Used to identify the application to the system AV function in Windows. |
155 extern const char kApplicationClientIDStringForAVScanning[]; | 145 extern const char kApplicationClientIDStringForAVScanning[]; |
156 | 146 |
157 // The largest reasonable length we'd assume for a meta tag attribute. | 147 // The largest reasonable length we'd assume for a meta tag attribute. |
158 extern const size_t kMaxMetaTagAttributeLength; | 148 extern const size_t kMaxMetaTagAttributeLength; |
159 | 149 |
160 } // namespace chrome | 150 } // namespace chrome |
161 | 151 |
162 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 152 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
OLD | NEW |