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