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> |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 #endif | 132 #endif |
133 | 133 |
134 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 134 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
135 extern const char kChromeUITabModalConfirmDialogURL[]; | 135 extern const char kChromeUITabModalConfirmDialogURL[]; |
136 #endif | 136 #endif |
137 | 137 |
138 #if BUILDFLAG(ENABLE_WEBRTC) | 138 #if BUILDFLAG(ENABLE_WEBRTC) |
139 extern const char kChromeUIWebRtcLogsURL[]; | 139 extern const char kChromeUIWebRtcLogsURL[]; |
140 #endif | 140 #endif |
141 | 141 |
142 #if defined(ENABLE_MEDIA_ROUTER) | |
143 extern const char kChromeUIMediaRouterURL[]; | 142 extern const char kChromeUIMediaRouterURL[]; |
144 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) | 143 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) |
145 extern const char kChromeUICastURL[]; | 144 extern const char kChromeUICastURL[]; |
146 #endif | 145 #endif |
147 #endif | |
148 | 146 |
149 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) | 147 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
150 extern const char kChromeUIDiscardsHost[]; | 148 extern const char kChromeUIDiscardsHost[]; |
151 extern const char kChromeUIDiscardsURL[]; | 149 extern const char kChromeUIDiscardsURL[]; |
152 #endif | 150 #endif |
153 | 151 |
154 // chrome components of URLs. Should be kept in sync with the full URLs above. | 152 // chrome components of URLs. Should be kept in sync with the full URLs above. |
155 extern const char kChromeUIAboutHost[]; | 153 extern const char kChromeUIAboutHost[]; |
156 extern const char kChromeUIAboutPageFrameHost[]; | 154 extern const char kChromeUIAboutPageFrameHost[]; |
157 extern const char kChromeUIBlankHost[]; | 155 extern const char kChromeUIBlankHost[]; |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 #endif | 317 #endif |
320 | 318 |
321 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) | 319 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA) |
322 extern const char kChromeUITabModalConfirmDialogHost[]; | 320 extern const char kChromeUITabModalConfirmDialogHost[]; |
323 #endif | 321 #endif |
324 | 322 |
325 #if BUILDFLAG(ENABLE_WEBRTC) | 323 #if BUILDFLAG(ENABLE_WEBRTC) |
326 extern const char kChromeUIWebRtcLogsHost[]; | 324 extern const char kChromeUIWebRtcLogsHost[]; |
327 #endif | 325 #endif |
328 | 326 |
329 #if defined(ENABLE_MEDIA_ROUTER) | |
330 extern const char kChromeUIMediaRouterHost[]; | 327 extern const char kChromeUIMediaRouterHost[]; |
331 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) | 328 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) |
332 extern const char kChromeUICastHost[]; | 329 extern const char kChromeUICastHost[]; |
333 #endif | 330 #endif |
334 #endif | |
335 | 331 |
336 // Options sub-pages. | 332 // Options sub-pages. |
337 extern const char kAutofillSubPage[]; | 333 extern const char kAutofillSubPage[]; |
338 extern const char kClearBrowserDataSubPage[]; | 334 extern const char kClearBrowserDataSubPage[]; |
339 extern const char kContentSettingsSubPage[]; | 335 extern const char kContentSettingsSubPage[]; |
340 extern const char kCreateProfileSubPage[]; | 336 extern const char kCreateProfileSubPage[]; |
341 extern const char kDeprecatedOptionsContentSettingsExceptionsSubPage[]; | 337 extern const char kDeprecatedOptionsContentSettingsExceptionsSubPage[]; |
342 extern const char kDeprecatedExtensionsSubPage[]; | 338 extern const char kDeprecatedExtensionsSubPage[]; |
343 extern const char kHandlerSettingsSubPage[]; | 339 extern const char kHandlerSettingsSubPage[]; |
344 extern const char kImportDataSubPage[]; | 340 extern const char kImportDataSubPage[]; |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 extern const char kChooserUsbOverviewURL[]; | 622 extern const char kChooserUsbOverviewURL[]; |
627 | 623 |
628 #if defined(OS_CHROMEOS) | 624 #if defined(OS_CHROMEOS) |
629 // The URL for EOL notification | 625 // The URL for EOL notification |
630 extern const char kEolNotificationURL[]; | 626 extern const char kEolNotificationURL[]; |
631 #endif | 627 #endif |
632 | 628 |
633 } // namespace chrome | 629 } // namespace chrome |
634 | 630 |
635 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 631 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |