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" |
11 | 11 |
| 12 #if defined(OS_WIN) |
| 13 #if defined(GOOGLE_CHROME_BUILD) |
| 14 #define PRODUCT_STRING_PATH L"Google\\Chrome" |
| 15 #elif defined(CHROMIUM_BUILD) |
| 16 #define PRODUCT_STRING_PATH L"Chromium" |
| 17 #else |
| 18 #error Unknown branding |
| 19 #endif |
| 20 #endif // defined(OS_WIN) |
| 21 |
12 namespace chrome { | 22 namespace chrome { |
13 | 23 |
14 extern const char kChromeVersion[]; | 24 extern const char kChromeVersion[]; |
15 | 25 |
16 extern const char kChromeVersionEnvVar[]; | 26 extern const char kChromeVersionEnvVar[]; |
17 | 27 |
18 extern const base::FilePath::CharType kBrowserProcessExecutableName[]; | 28 extern const base::FilePath::CharType kBrowserProcessExecutableName[]; |
19 extern const base::FilePath::CharType kHelperProcessExecutableName[]; | 29 extern const base::FilePath::CharType kHelperProcessExecutableName[]; |
20 extern const base::FilePath::CharType kBrowserProcessExecutablePath[]; | 30 extern const base::FilePath::CharType kBrowserProcessExecutablePath[]; |
21 extern const base::FilePath::CharType kHelperProcessExecutablePath[]; | 31 extern const base::FilePath::CharType kHelperProcessExecutablePath[]; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 extern const char kApplicationClientIDStringForAVScanning[]; | 168 extern const char kApplicationClientIDStringForAVScanning[]; |
159 | 169 |
160 #if defined(OS_ANDROID) | 170 #if defined(OS_ANDROID) |
161 // The largest reasonable length we'd assume for a meta tag attribute. | 171 // The largest reasonable length we'd assume for a meta tag attribute. |
162 extern const size_t kMaxMetaTagAttributeLength; | 172 extern const size_t kMaxMetaTagAttributeLength; |
163 #endif | 173 #endif |
164 | 174 |
165 } // namespace chrome | 175 } // namespace chrome |
166 | 176 |
167 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 177 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
OLD | NEW |