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 "media/media_features.h" |
18 #include "printing/features/features.h" | 19 #include "printing/features/features.h" |
19 | 20 |
20 namespace chrome { | 21 namespace chrome { |
21 | 22 |
22 // chrome: URLs (including schemes). Should be kept in sync with the | 23 // chrome: URLs (including schemes). Should be kept in sync with the |
23 // components below. | 24 // components below. |
24 extern const char kChromeUIAboutURL[]; | 25 extern const char kChromeUIAboutURL[]; |
25 extern const char kChromeUIAppsURL[]; | 26 extern const char kChromeUIAppsURL[]; |
26 extern const char kChromeUIAppListStartPageURL[]; | 27 extern const char kChromeUIAppListStartPageURL[]; |
27 extern const char kChromeUIBookmarksURL[]; | 28 extern const char kChromeUIBookmarksURL[]; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 #endif // defined(OS_CHROMEOS) | 123 #endif // defined(OS_CHROMEOS) |
123 | 124 |
124 #if defined(OS_WIN) | 125 #if defined(OS_WIN) |
125 extern const char kChromeUIMetroFlowURL[]; | 126 extern const char kChromeUIMetroFlowURL[]; |
126 #endif | 127 #endif |
127 | 128 |
128 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 129 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
129 extern const char kChromeUITabModalConfirmDialogURL[]; | 130 extern const char kChromeUITabModalConfirmDialogURL[]; |
130 #endif | 131 #endif |
131 | 132 |
132 #if defined(ENABLE_WEBRTC) | 133 #if BUILDFLAG(ENABLE_WEBRTC) |
133 extern const char kChromeUIWebRtcLogsURL[]; | 134 extern const char kChromeUIWebRtcLogsURL[]; |
134 #endif | 135 #endif |
135 | 136 |
136 #if defined(ENABLE_MEDIA_ROUTER) | 137 #if defined(ENABLE_MEDIA_ROUTER) |
137 extern const char kChromeUIMediaRouterURL[]; | 138 extern const char kChromeUIMediaRouterURL[]; |
138 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) | 139 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) |
139 extern const char kChromeUICastURL[]; | 140 extern const char kChromeUICastURL[]; |
140 #endif | 141 #endif |
141 #endif | 142 #endif |
142 | 143 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 #endif // defined(OS_CHROMEOS) | 307 #endif // defined(OS_CHROMEOS) |
307 | 308 |
308 #if defined(OS_WIN) | 309 #if defined(OS_WIN) |
309 extern const char kChromeUIMetroFlowHost[]; | 310 extern const char kChromeUIMetroFlowHost[]; |
310 #endif | 311 #endif |
311 | 312 |
312 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 313 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
313 extern const char kChromeUITabModalConfirmDialogHost[]; | 314 extern const char kChromeUITabModalConfirmDialogHost[]; |
314 #endif | 315 #endif |
315 | 316 |
316 #if defined(ENABLE_WEBRTC) | 317 #if BUILDFLAG(ENABLE_WEBRTC) |
317 extern const char kChromeUIWebRtcLogsHost[]; | 318 extern const char kChromeUIWebRtcLogsHost[]; |
318 #endif | 319 #endif |
319 | 320 |
320 #if defined(ENABLE_MEDIA_ROUTER) | 321 #if defined(ENABLE_MEDIA_ROUTER) |
321 extern const char kChromeUIMediaRouterHost[]; | 322 extern const char kChromeUIMediaRouterHost[]; |
322 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) | 323 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) |
323 extern const char kChromeUICastHost[]; | 324 extern const char kChromeUICastHost[]; |
324 #endif | 325 #endif |
325 #endif | 326 #endif |
326 | 327 |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 extern const char kChooserUsbOverviewURL[]; | 607 extern const char kChooserUsbOverviewURL[]; |
607 | 608 |
608 #if defined(OS_CHROMEOS) | 609 #if defined(OS_CHROMEOS) |
609 // The URL for EOL notification | 610 // The URL for EOL notification |
610 extern const char kEolNotificationURL[]; | 611 extern const char kEolNotificationURL[]; |
611 #endif | 612 #endif |
612 | 613 |
613 } // namespace chrome | 614 } // namespace chrome |
614 | 615 |
615 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 616 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |