Adding WebRTC log upload list under chrome://webrtc-logs
[chromium-blink-merge.git] / chrome / common / url_constants.h
blob454bfd3bb721f3a7141ccf68e4155d0d93c5b59e
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
3 // found in the LICENSE file.
5 // Contains constants for known URLs and portions thereof.
7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_
8 #define CHROME_COMMON_URL_CONSTANTS_H_
10 #include "build/build_config.h"
11 #include "content/public/common/url_constants.h"
13 namespace chrome {
15 // TODO(msw): Resolve chrome_frame dependency on these constants.
16 extern const char kAboutPluginsURL[];
17 extern const char kAboutVersionURL[];
19 // chrome: URLs (including schemes). Should be kept in sync with the
20 // components below.
21 extern const char kChromeUIAboutURL[];
22 extern const char kChromeUIAppsURL[];
23 extern const char kChromeUIBookmarksURL[];
24 extern const char kChromeUICertificateViewerURL[];
25 extern const char kChromeUIChromeURLsURL[];
26 extern const char kChromeUICloudPrintResourcesURL[];
27 extern const char kChromeUIConflictsURL[];
28 extern const char kChromeUIConstrainedHTMLTestURL[];
29 extern const char kChromeUICrashesURL[];
30 extern const char kChromeUICreditsURL[];
31 extern const char kChromeUIDevToolsURL[];
32 extern const char kChromeUIDownloadsURL[];
33 extern const char kChromeUIEditSearchEngineDialogURL[];
34 extern const char kChromeUIExtensionIconURL[];
35 extern const char kChromeUIExtensionInfoURL[];
36 extern const char kChromeUIExtensionsFrameURL[];
37 extern const char kChromeUIExtensionsURL[];
38 extern const char kChromeUIFaviconURL[];
39 extern const char kChromeUIFeedbackURL[];
40 extern const char kChromeUIFlagsURL[];
41 extern const char kChromeUIFlashURL[];
42 extern const char kChromeUIHelpFrameURL[];
43 extern const char kChromeUIHistoryURL[];
44 extern const char kChromeUIHistoryFrameURL[];
45 extern const char kChromeUIIdentityInternalsURL[];
46 extern const char kChromeUIInlineLoginURL[];
47 extern const char kChromeUIInspectURL[];
48 extern const char kChromeUIInstantURL[];
49 extern const char kChromeUIIPCURL[];
50 extern const char kChromeUIManagedUserPassphrasePageURL[];
51 extern const char kChromeUIMemoryRedirectURL[];
52 extern const char kChromeUIMemoryURL[];
53 extern const char kChromeUIMetroFlowURL[];
54 extern const char kChromeUINaClURL[];
55 extern const char kChromeUINetInternalsURL[];
56 extern const char kChromeUINewProfile[];
57 extern const char kChromeUINewTabURL[];
58 extern const char kChromeUIOmniboxURL[];
59 extern const char kChromeUIPerformanceMonitorURL[];
60 extern const char kChromeUIPluginsURL[];
61 extern const char kChromeUIPolicyURL[];
62 extern const char kChromeUIProfileSigninConfirmationURL[];
63 extern const char kChromeUIPrintURL[];
64 extern const char kChromeUISessionFaviconURL[];
65 extern const char kChromeUISettingsURL[];
66 extern const char kChromeUISettingsFrameURL[];
67 extern const char kChromeUISuggestionsInternalsURL[];
68 extern const char kChromeUISSLClientCertificateSelectorURL[];
69 extern const char kChromeUITaskManagerURL[];
70 extern const char kChromeUITermsURL[];
71 extern const char kChromeUIThemeURL[];
72 extern const char kChromeUIThumbnailURL[];
73 extern const char kChromeUIUberURL[];
74 extern const char kChromeUIUberFrameURL[];
75 extern const char kChromeUIUserActionsURL[];
76 extern const char kChromeUIVersionURL[];
78 #if defined(OS_ANDROID)
79 extern const char kChromeUIWelcomeURL[];
80 #endif
82 #if defined(OS_CHROMEOS)
83 extern const char kChromeUIActivationMessage[];
84 extern const char kChromeUIAppLaunchURL[];
85 extern const char kChromeUIBluetoothPairingURL[];
86 extern const char kChromeUIChooseMobileNetworkURL[];
87 extern const char kChromeUIDiagnosticsURL[];
88 extern const char kChromeUIDiscardsURL[];
89 extern const char kChromeUIIdleLogoutDialogURL[];
90 extern const char kChromeUIImageBurnerURL[];
91 extern const char kChromeUIKeyboardOverlayURL[];
92 extern const char kChromeUILockScreenURL[];
93 extern const char kChromeUIMediaplayerURL[];
94 extern const char kChromeUIMobileSetupURL[];
95 extern const char kChromeUIOobeURL[];
96 extern const char kChromeUIOSCreditsURL[];
97 extern const char kChromeUIProxySettingsURL[];
98 extern const char kChromeUISimUnlockURL[];
99 extern const char kChromeUISlideshowURL[];
100 extern const char kChromeUISystemInfoURL[];
101 extern const char kChromeUITermsOemURL[];
102 extern const char kChromeUIUserImageURL[];
103 #endif
105 #if defined(USE_ASH)
106 extern const char kChromeUITransparencyURL[];
107 #endif
109 #if defined(FILE_MANAGER_EXTENSION)
110 extern const char kChromeUIFileManagerURL[];
111 #endif
113 #if defined(USE_AURA)
114 extern const char kChromeUIGestureConfigURL[];
115 extern const char kChromeUIGestureConfigHost[];
116 #endif
118 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
119 extern const char kChromeUITabModalConfirmDialogURL[];
120 #endif
122 #if defined(ENABLE_WEBRTC)
123 extern const char kChromeUIWebRtcLogsURL[];
124 #endif
126 // chrome components of URLs. Should be kept in sync with the full URLs above.
127 extern const char kChromeUIAboutHost[];
128 extern const char kChromeUIAboutPageFrameHost[];
129 extern const char kChromeUIBlankHost[];
130 extern const char kChromeUIAppLauncherPageHost[];
131 extern const char kChromeUIBookmarksHost[];
132 extern const char kChromeUICacheHost[];
133 extern const char kChromeUICertificateViewerHost[];
134 extern const char kChromeUIChromeURLsHost[];
135 extern const char kChromeUICloudPrintResourcesHost[];
136 extern const char kChromeUICloudPrintSetupHost[];
137 extern const char kChromeUIConflictsHost[];
138 extern const char kChromeUIConstrainedHTMLTestHost[];
139 extern const char kChromeUICrashesHost[];
140 extern const char kChromeUICrashHost[];
141 extern const char kChromeUICreditsHost[];
142 extern const char kChromeUIDefaultHost[];
143 extern const char kChromeUIDevToolsHost[];
144 extern const char kChromeUIDevToolsBundledPath[];
145 extern const char kChromeUIDevToolsRemotePath[];
146 extern const char kChromeUIDNSHost[];
147 extern const char kChromeUIDownloadsHost[];
148 extern const char kChromeUIDriveInternalsHost[];
149 extern const char kChromeUIEditSearchEngineDialogHost[];
150 extern const char kChromeUIExtensionIconHost[];
151 extern const char kChromeUIExtensionInfoHost[];
152 extern const char kChromeUIExtensionsFrameHost[];
153 extern const char kChromeUIExtensionsHost[];
154 extern const char kChromeUIFaviconHost[];
155 extern const char kChromeUIFeedbackHost[];
156 extern const char kChromeUIFlagsHost[];
157 extern const char kChromeUIFlashHost[];
158 extern const char kChromeUIHelpFrameHost[];
159 extern const char kChromeUIHelpHost[];
160 extern const char kChromeUIHangHost[];
161 extern const char kChromeUIHistoryHost[];
162 extern const char kChromeUIHistoryFrameHost[];
163 extern const char kChromeUIIdentityInternalsHost[];
164 extern const char kChromeUIInlineLoginHost[];
165 extern const char kChromeUIInspectHost[];
166 extern const char kChromeUIInstantHost[];
167 extern const char kChromeUIIPCHost[];
168 extern const char kChromeUIKillHost[];
169 extern const char kChromeUIManagedUserPassphrasePageHost[];
170 extern const char kChromeUIMemoryHost[];
171 extern const char kChromeUIMemoryInternalsHost[];
172 extern const char kChromeUIMemoryRedirectHost[];
173 extern const char kChromeUIMetroFlowHost[];
174 extern const char kChromeUINaClHost[];
175 extern const char kChromeUINetExportHost[];
176 extern const char kChromeUINetInternalsHost[];
177 extern const char kChromeUINewTabHost[];
178 extern const char kChromeUIOmniboxHost[];
179 extern const char kChromeUIPerformanceMonitorHost[];
180 extern const char kChromeUIPluginsHost[];
181 extern const char kChromeUIPolicyHost[];
182 extern const char kChromeUIProfileSigninConfirmationHost[];
183 extern const char kChromeUIPredictorsHost[];
184 extern const char kChromeUIPrintHost[];
185 extern const char kChromeUIProfilerHost[];
186 extern const char kChromeUIQuotaInternalsHost[];
187 extern const char kChromeUISessionFaviconHost[];
188 extern const char kChromeUISettingsHost[];
189 extern const char kChromeUISettingsFrameHost[];
190 extern const char kChromeUIShorthangHost[];
191 extern const char kChromeUISignInInternalsHost[];
192 extern const char kChromeUISuggestionsInternalsHost[];
193 extern const char kChromeUISSLClientCertificateSelectorHost[];
194 extern const char kChromeUIStatsHost[];
195 extern const char kChromeUISyncHost[];
196 extern const char kChromeUISyncFileSystemInternalsHost[];
197 extern const char kChromeUISyncInternalsHost[];
198 extern const char kChromeUISyncResourcesHost[];
199 extern const char kChromeUITaskManagerHost[];
200 extern const char kChromeUITermsHost[];
201 extern const char kChromeUIThemeHost[];
202 extern const char kChromeUIThumbnailHost[];
203 extern const char kChromeUITouchIconHost[];
204 extern const char kChromeUITranslateInternalsHost[];
205 extern const char kChromeUIUberFrameHost[];
206 extern const char kChromeUIUberHost[];
207 extern const char kChromeUIUserActionsHost[];
208 extern const char kChromeUIVersionHost[];
209 extern const char kChromeUIWorkersHost[];
211 extern const char kChromeUIScreenshotPath[];
212 extern const char kChromeUIThemePath[];
214 #if defined(OS_ANDROID)
215 extern const char kChromeUIWelcomeHost[];
216 #endif
218 #if defined(OS_LINUX) || defined(OS_OPENBSD)
219 extern const char kChromeUILinuxProxyConfigHost[];
220 extern const char kChromeUISandboxHost[];
221 #endif
223 #if defined(OS_CHROMEOS)
224 extern const char kChromeUIActivationMessageHost[];
225 extern const char kChromeUIAppLaunchHost[];
226 extern const char kChromeUIBluetoothPairingHost[];
227 extern const char kChromeUIChooseMobileNetworkHost[];
228 extern const char kChromeUICryptohomeHost[];
229 extern const char kChromeUIDiagnosticsHost[];
230 extern const char kChromeUIDiscardsHost[];
231 extern const char kChromeUIIdleLogoutDialogHost[];
232 extern const char kChromeUIImageBurnerHost[];
233 extern const char kChromeUIKeyboardOverlayHost[];
234 extern const char kChromeUILockScreenHost[];
235 extern const char kChromeUILoginContainerHost[];
236 extern const char kChromeUILoginHost[];
237 extern const char kChromeUIMediaplayerHost[];
238 extern const char kChromeUIMobileSetupHost[];
239 extern const char kChromeUINetworkHost[];
240 extern const char kChromeUIOobeHost[];
241 extern const char kChromeUIOSCreditsHost[];
242 extern const char kChromeUIProxySettingsHost[];
243 extern const char kChromeUIRotateHost[];
244 extern const char kChromeUISimUnlockHost[];
245 extern const char kChromeUISlideshowHost[];
246 extern const char kChromeUISystemInfoHost[];
247 extern const char kChromeUIUserImageHost[];
249 extern const char kChromeUIMenu[];
250 extern const char kChromeUINetworkMenu[];
251 extern const char kChromeUIWrenchMenu[];
253 extern const char kEULAPathFormat[];
254 extern const char kOemEulaURLPath[];
255 extern const char kOnlineEulaURLPath[];
256 #endif
258 #if defined(USE_ASH)
259 extern const char kChromeUITransparencyHost[];
260 #endif
262 #if defined(FILE_MANAGER_EXTENSION)
263 extern const char kChromeUIFileManagerHost[];
264 #endif
266 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
267 extern const char kChromeUITabModalConfirmDialogHost[];
268 #endif
270 #if defined(ENABLE_WEBRTC)
271 extern const char kChromeUIWebRtcLogsHost[];
272 #endif
274 // Options sub-pages.
275 extern const char kAutofillSubPage[];
276 extern const char kClearBrowserDataSubPage[];
277 extern const char kContentSettingsExceptionsSubPage[];
278 extern const char kContentSettingsSubPage[];
279 extern const char kCreateProfileSubPage[];
280 extern const char kExtensionsSubPage[];
281 extern const char kHandlerSettingsSubPage[];
282 extern const char kImportDataSubPage[];
283 extern const char kLanguageOptionsSubPage[];
284 extern const char kManagedUserSettingsSubPage[];
285 extern const char kManageProfileSubPage[];
286 extern const char kPasswordManagerSubPage[];
287 extern const char kSearchEnginesSubPage[];
288 extern const char kSearchSubPage[];
289 extern const char kSearchUsersSubPage[];
290 extern const char kSyncSetupSubPage[];
291 #if defined(OS_CHROMEOS)
292 extern const char kInternetOptionsSubPage[];
293 extern const char kBluetoothAddDeviceSubPage[];
294 extern const char kChangeProfilePictureSubPage[];
295 #endif
297 // Extensions sub pages.
298 extern const char kExtensionConfigureCommandsSubPage[];
300 // URLs used to indicate that an extension resource load request
301 // was invalid.
302 extern const char kExtensionInvalidRequestURL[];
303 extern const char kExtensionResourceInvalidRequestURL[];
305 extern const char kSyncGoogleDashboardURL[];
307 // "Learn more" URL for the auto password generation.
308 extern const char kAutoPasswordGenerationLearnMoreURL[];
310 extern const char kPasswordManagerLearnMoreURL[];
312 // General help links for Chrome, opened using various actions.
313 extern const char kChromeHelpViaKeyboardURL[];
314 extern const char kChromeHelpViaMenuURL[];
315 extern const char kChromeHelpViaWebUIURL[];
317 #if defined(OS_CHROMEOS)
318 // Accessibility help link for Chrome.
319 extern const char kChromeAccessibilityHelpURL[];
320 #endif
322 // "Learn more" URL for the one click signin infobar.
323 extern const char kChromeSyncLearnMoreURL[];
325 // "Learn more" URL for the enterprise sign-in confirmation dialog.
326 extern const char kChromeEnterpriseSignInLearnMoreURL[];
328 // Management URL for the supervised users.
329 extern const char kSupervisedUserManagementURL[];
331 // Management URL for the supervised users - version without scheme, used
332 // for display.
333 extern const char kSupervisedUserManagementDisplayURL[];
335 // Help URL for the settings page's search feature.
336 extern const char kSettingsSearchHelpURL[];
338 // "About" URL for the translate bar's options menu.
339 extern const char kAboutGoogleTranslateURL[];
341 // Help URL for the Omnibox setting.
342 extern const char kOmniboxLearnMoreURL[];
344 // "What do these mean?" URL for the Page Info bubble.
345 extern const char kPageInfoHelpCenterURL[];
347 // "Learn more" URL for "Aw snap" page.
348 extern const char kCrashReasonURL[];
350 // "Learn more" URL for killed tab page.
351 extern const char kKillReasonURL[];
353 // "Learn more" URL for the Privacy section under Options.
354 extern const char kPrivacyLearnMoreURL[];
356 // "Learn more" URL for the "Do not track" setting in the privacy section.
357 extern const char kDoNotTrackLearnMoreURL[];
359 // The URL for the Chromium project used in the About dialog.
360 extern const char kChromiumProjectURL[];
362 // The URL for the "Learn more" page for the usage/crash reporting option in the
363 // first run dialog.
364 extern const char kLearnMoreReportingURL[];
366 // The URL for the "Learn more" page for the outdated plugin infobar.
367 extern const char kOutdatedPluginLearnMoreURL[];
369 // The URL for the "Learn more" page for the blocked plugin infobar.
370 extern const char kBlockedPluginLearnMoreURL[];
372 // The URL for the "About Voice Recognition" menu item.
373 extern const char kSpeechInputAboutURL[];
375 // The URL for the "Learn more" page for register protocol handler infobars.
376 extern const char kLearnMoreRegisterProtocolHandlerURL[];
378 // The URL for the "Learn more" page for sync setup on the personal stuff page.
379 extern const char kSyncLearnMoreURL[];
381 // The URL for the "Learn more" page for download scanning.
382 extern const char kDownloadScanningLearnMoreURL[];
384 // The URL for the "Learn more" page for interrupted downloads.
385 extern const char kDownloadInterruptedLearnMoreURL[];
387 // The URL for the "Learn more" page on the sync setup dialog, when syncing
388 // everything.
389 extern const char kSyncEverythingLearnMoreURL[];
391 // The URL for information on how to use the app launcher.
392 extern const char kAppLauncherHelpURL[];
394 // The URL for the "Learn more" page on sync encryption.
395 extern const char kSyncEncryptionHelpURL[];
397 // The URL for the "Learn more" link when there is a sync error.
398 extern const char kSyncErrorsHelpURL[];
400 // The URL for the "Learn more" link in the Chrome To Mobile bubble.
401 extern const char kChromeToMobileLearnMoreURL[];
403 // The URL for the help article explaining sideload wipeout in more details.
404 extern const char kSideloadWipeoutHelpURL[];
406 #if defined(OS_CHROMEOS)
407 // The URL for the "Learn more" link for natural scrolling on ChromeOS.
408 extern const char kNaturalScrollHelpURL[];
410 // The URL for the Learn More page about enterprise enrolled devices.
411 extern const char kLearnMoreEnterpriseURL[];
412 #endif
414 extern const char kNotificationsHelpURL[];
416 // "Debug" pages which are dangerous and not for general consumption.
417 extern const char* const kChromeDebugURLs[];
418 extern const int kNumberOfChromeDebugURLs;
420 // Canonical schemes you can use as input to GURL.SchemeIs().
421 extern const char kExtensionResourceScheme[];
423 // The chrome-search: scheme is served by the same backend as chrome:. However,
424 // only specific URLDataSources are enabled to serve requests via the
425 // chrome-search: scheme. See |InstantIOContext::ShouldServiceRequest| and its
426 // callers for details. Note that WebUIBindings should never be granted to
427 // chrome-search: pages. chrome-search: pages are displayable but not readable
428 // by external search providers (that are rendered by Instant renderer
429 // processes), and neither displayable nor readable by normal (non-Instant) web
430 // pages. To summarize, a non-Instant process, when trying to access
431 // 'chrome-search://something', will bump up against the following:
433 // 1. Renderer: The display-isolated check in WebKit will deny the request,
434 // 2. Browser: Assuming they got by #1, the scheme checks in
435 // URLDataSource::ShouldServiceRequest will deny the request,
436 // 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource
437 // there are additional Instant-PID checks that make sure the request is
438 // coming from a blessed Instant process, and deny the request.
439 extern const char kChromeSearchScheme[];
441 // Pages under chrome-search.
442 extern const char kChromeSearchLocalNtpHost[];
443 extern const char kChromeSearchLocalNtpUrl[];
444 extern const char kChromeSearchLocalGoogleNtpUrl[];
446 // Host for search suggestions iframes.
447 extern const char kChromeSearchSuggestionHost[];
448 extern const char kChromeSearchSuggestionUrl[];
450 // Host and URL for most visited iframes used on the Instant Extended NTP.
451 extern const char kChromeSearchMostVisitedHost[];
452 extern const char kChromeSearchMostVisitedUrl[];
454 #if defined(OS_CHROMEOS)
455 extern const char kCrosScheme[];
456 extern const char kDriveScheme[];
458 // "Learn more" URL for the Cloud Print section under Options.
459 extern const char kCloudPrintLearnMoreURL[];
460 #endif
462 // Parameters that get appended to force SafeSearch.
463 extern const char kSafeSearchSafeParameter[];
464 extern const char kSafeSearchSsuiParameter[];
466 // The URL for the "Learn more" link in the media access infobar.
467 extern const char kMediaAccessLearnMoreUrl[];
469 } // namespace chrome
471 #endif // CHROME_COMMON_URL_CONSTANTS_H_