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 <stddef.h> |
| 11 |
10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "build/build_config.h" |
11 | 14 |
12 #if defined(OS_WIN) | 15 #if defined(OS_WIN) |
13 #if defined(GOOGLE_CHROME_BUILD) | 16 #if defined(GOOGLE_CHROME_BUILD) |
14 #define PRODUCT_STRING_PATH L"Google\\Chrome" | 17 #define PRODUCT_STRING_PATH L"Google\\Chrome" |
15 #elif defined(CHROMIUM_BUILD) | 18 #elif defined(CHROMIUM_BUILD) |
16 #define PRODUCT_STRING_PATH L"Chromium" | 19 #define PRODUCT_STRING_PATH L"Chromium" |
17 #else | 20 #else |
18 #error Unknown branding | 21 #error Unknown branding |
19 #endif | 22 #endif |
20 #endif // defined(OS_WIN) | 23 #endif // defined(OS_WIN) |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 145 |
143 // Used to identify the application to the system AV function in Windows. | 146 // Used to identify the application to the system AV function in Windows. |
144 extern const char kApplicationClientIDStringForAVScanning[]; | 147 extern const char kApplicationClientIDStringForAVScanning[]; |
145 | 148 |
146 // The largest reasonable length we'd assume for a meta tag attribute. | 149 // The largest reasonable length we'd assume for a meta tag attribute. |
147 extern const size_t kMaxMetaTagAttributeLength; | 150 extern const size_t kMaxMetaTagAttributeLength; |
148 | 151 |
149 } // namespace chrome | 152 } // namespace chrome |
150 | 153 |
151 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ | 154 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ |
OLD | NEW |