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 // Contains constants for known URLs and portions thereof. | 5 // Contains constants for known URLs and portions thereof. |
6 | 6 |
7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ | 7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ |
8 #define CHROME_COMMON_URL_CONSTANTS_H_ | 8 #define CHROME_COMMON_URL_CONSTANTS_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "chrome/common/features.h" | 16 #include "chrome/common/features.h" |
17 #include "content/public/common/url_constants.h" | 17 #include "content/public/common/url_constants.h" |
| 18 #include "printing/features/features.h" |
18 | 19 |
19 namespace chrome { | 20 namespace chrome { |
20 | 21 |
21 // chrome: URLs (including schemes). Should be kept in sync with the | 22 // chrome: URLs (including schemes). Should be kept in sync with the |
22 // components below. | 23 // components below. |
23 extern const char kChromeUIAboutURL[]; | 24 extern const char kChromeUIAboutURL[]; |
24 extern const char kChromeUIAppsURL[]; | 25 extern const char kChromeUIAppsURL[]; |
25 extern const char kChromeUIAppListStartPageURL[]; | 26 extern const char kChromeUIAppListStartPageURL[]; |
26 extern const char kChromeUIBookmarksURL[]; | 27 extern const char kChromeUIBookmarksURL[]; |
27 extern const char kChromeUICertificateViewerURL[]; | 28 extern const char kChromeUICertificateViewerURL[]; |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 extern const char kChromeUITranslateInternalsHost[]; | 240 extern const char kChromeUITranslateInternalsHost[]; |
240 extern const char kChromeUIUberFrameHost[]; | 241 extern const char kChromeUIUberFrameHost[]; |
241 extern const char kChromeUIUberHost[]; | 242 extern const char kChromeUIUberHost[]; |
242 extern const char kChromeUIUsbInternalsHost[]; | 243 extern const char kChromeUIUsbInternalsHost[]; |
243 extern const char kChromeUIUserActionsHost[]; | 244 extern const char kChromeUIUserActionsHost[]; |
244 extern const char kChromeUIVersionHost[]; | 245 extern const char kChromeUIVersionHost[]; |
245 extern const char kChromeUIWelcomeHost[]; | 246 extern const char kChromeUIWelcomeHost[]; |
246 extern const char kChromeUIWelcomeWin10Host[]; | 247 extern const char kChromeUIWelcomeWin10Host[]; |
247 extern const char kChromeUIWorkersHost[]; | 248 extern const char kChromeUIWorkersHost[]; |
248 | 249 |
249 #if defined(ENABLE_PRINT_PREVIEW) | 250 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
250 extern const char kChromeUIPrintHost[]; | 251 extern const char kChromeUIPrintHost[]; |
251 #endif // ENABLE_PRINT_PREVIEW | 252 #endif // ENABLE_PRINT_PREVIEW |
252 | 253 |
253 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) | 254 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) |
254 extern const char kChromeUILinuxProxyConfigHost[]; | 255 extern const char kChromeUILinuxProxyConfigHost[]; |
255 extern const char kChromeUISandboxHost[]; | 256 extern const char kChromeUISandboxHost[]; |
256 #endif | 257 #endif |
257 | 258 |
258 #if defined(OS_ANDROID) | 259 #if defined(OS_ANDROID) |
259 extern const char kChromeUIContextualSearchPromoHost[]; | 260 extern const char kChromeUIContextualSearchPromoHost[]; |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 extern const char kChooserUsbOverviewURL[]; | 606 extern const char kChooserUsbOverviewURL[]; |
606 | 607 |
607 #if defined(OS_CHROMEOS) | 608 #if defined(OS_CHROMEOS) |
608 // The URL for EOL notification | 609 // The URL for EOL notification |
609 extern const char kEolNotificationURL[]; | 610 extern const char kEolNotificationURL[]; |
610 #endif | 611 #endif |
611 | 612 |
612 } // namespace chrome | 613 } // namespace chrome |
613 | 614 |
614 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 615 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |