Add logging.store and logging.uploadStored to thunk.js for Hangouts.
[chromium-blink-merge.git] / chrome / common / url_constants.h
blob90960f57cae694f78fed6660cefea7d4360a2d4e
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 <string>
11 #include <vector>
13 #include "build/build_config.h"
14 #include "content/public/common/url_constants.h"
16 namespace chrome {
18 // chrome: URLs (including schemes). Should be kept in sync with the
19 // components below.
20 extern const char kChromeUIAboutURL[];
21 extern const char kChromeUIAppsURL[];
22 extern const char kChromeUIAppListStartPageURL[];
23 extern const char kChromeUIBookmarksURL[];
24 extern const char kChromeUICertificateViewerURL[];
25 extern const char kChromeUICertificateViewerDialogURL[];
26 extern const char kChromeUIChromeSigninURL[];
27 extern const char kChromeUIChromeURLsURL[];
28 extern const char kChromeUICloudPrintResourcesURL[];
29 extern const char kChromeUIComponentsURL[];
30 extern const char kChromeUIConflictsURL[];
31 extern const char kChromeUIConstrainedHTMLTestURL[];
32 extern const char kChromeUICrashesURL[];
33 extern const char kChromeUICreditsURL[];
34 extern const char kChromeUIDevicesURL[];
35 extern const char kChromeUIDevToolsURL[];
36 extern const char kChromeUIDomainReliabilityInternalsURL[];
37 extern const char kChromeUIDownloadsURL[];
38 extern const char kChromeUIExtensionIconURL[];
39 extern const char kChromeUIExtensionsFrameURL[];
40 extern const char kChromeUIExtensionsURL[];
41 extern const char kChromeUIFallbackIconURL[];
42 extern const char kChromeUIFaviconURL[];
43 extern const char kChromeUIFlagsURL[];
44 extern const char kChromeUIFlashURL[];
45 extern const char kChromeUIGCMInternalsURL[];
46 extern const char kChromeUIHelpFrameURL[];
47 extern const char kChromeUIHistoryURL[];
48 extern const char kChromeUIHistoryFrameURL[];
49 extern const char kChromeUIIdentityInternalsURL[];
50 extern const char kChromeUIInspectURL[];
51 extern const char kChromeUIInstantURL[];
52 extern const char kChromeUIInterstitialURL[];
53 extern const char kChromeUIInvalidationsURL[];
54 extern const char kChromeUILargeIconURL[];
55 extern const char kChromeUIMemoryRedirectURL[];
56 extern const char kChromeUIMemoryURL[];
57 extern const char kChromeUINaClURL[];
58 extern const char kChromeUINetInternalsURL[];
59 extern const char kChromeUINewProfileURL[];
60 extern const char kChromeUINewTabURL[];
61 extern const char kChromeUIOmniboxURL[];
62 extern const char kChromeUIPasswordManagerInternalsHost[];
63 extern const char kChromeUIPluginsURL[];
64 extern const char kChromeUIPolicyURL[];
65 extern const char kChromeUIProfileSigninConfirmationURL[];
66 extern const char kChromeUIUserManagerURL[];
67 extern const char kChromeUIPrintURL[];
68 extern const char kChromeUIQuitURL[];
69 extern const char kChromeUIRestartURL[];
70 extern const char kChromeUIMdSettingsURL[];
71 extern const char kChromeUISettingsURL[];
72 extern const char kChromeUIContentSettingsURL[];
73 extern const char kChromeUISettingsFrameURL[];
74 extern const char kChromeUISuggestionsURL[];
75 extern const char kChromeUISupervisedUserPassphrasePageURL[];
76 extern const char kChromeUITermsURL[];
77 extern const char kChromeUIThemeURL[];
78 extern const char kChromeUIThumbnailURL[];
79 extern const char kChromeUIThumbnailListURL[];
80 extern const char kChromeUIUberURL[];
81 extern const char kChromeUIUberFrameURL[];
82 extern const char kChromeUIUserActionsURL[];
83 extern const char kChromeUIVersionURL[];
84 extern const char kChromeUIVoiceSearchURL[];
86 #if defined(OS_ANDROID)
87 extern const char kChromeUIContextualSearchPromoURL[];
88 extern const char kChromeUINativeScheme[];
89 extern const char kChromeUINativeNewTabURL[];
90 extern const char kChromeUINativeBookmarksURL[];
91 extern const char kChromeUINativeRecentTabsURL[];
92 #endif
94 #if defined(OS_CHROMEOS)
95 extern const char kChromeUIBluetoothPairingURL[];
96 extern const char kChromeUICertificateManagerDialogURL[];
97 extern const char kChromeUIChooseMobileNetworkURL[];
98 extern const char kChromeUIDiscardsURL[];
99 extern const char kChromeUIFirstRunURL[];
100 extern const char kChromeUIImageBurnerURL[];
101 extern const char kChromeUIKeyboardOverlayURL[];
102 extern const char kChromeUIMobileSetupURL[];
103 extern const char kChromeUINfcDebugURL[];
104 extern const char kChromeUIOobeURL[];
105 extern const char kChromeUIOSCreditsURL[];
106 extern const char kChromeUIProxySettingsURL[];
107 extern const char kChromeUISalsaURL[];
108 extern const char kChromeUIScreenlockIconURL[];
109 extern const char kChromeUISetTimeURL[];
110 extern const char kChromeUISimUnlockURL[];
111 extern const char kChromeUISlowURL[];
112 extern const char kChromeUISystemInfoURL[];
113 extern const char kChromeUITermsOemURL[];
114 extern const char kChromeUIUserImageURL[];
115 #endif // defined(OS_CHROMEOS)
117 #if defined(OS_WIN)
118 extern const char kChromeUIMetroFlowURL[];
119 #endif
121 #if defined(USE_AURA)
122 extern const char kChromeUIGestureConfigURL[];
123 extern const char kChromeUIGestureConfigHost[];
124 #endif
126 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
127 extern const char kChromeUITabModalConfirmDialogURL[];
128 #endif
130 #if !defined(OS_ANDROID) && !defined(OS_IOS)
131 extern const char kChromeUICopresenceURL[];
132 extern const char kChromeUICopresenceHost[];
133 #endif
135 #if defined(ENABLE_WEBRTC)
136 extern const char kChromeUIWebRtcLogsURL[];
137 #endif
139 #if defined(ENABLE_MEDIA_ROUTER)
140 extern const char kChromeUIMediaRouterURL[];
141 #endif
143 // chrome components of URLs. Should be kept in sync with the full URLs above.
144 extern const char kChromeUIAboutHost[];
145 extern const char kChromeUIAboutPageFrameHost[];
146 extern const char kChromeUIBlankHost[];
147 extern const char kChromeUIAppLauncherPageHost[];
148 extern const char kChromeUIAppListStartPageHost[];
149 extern const char kChromeUIBookmarksHost[];
150 extern const char kChromeUICacheHost[];
151 extern const char kChromeUICertificateViewerHost[];
152 extern const char kChromeUICertificateViewerDialogHost[];
153 extern const char kChromeUIChromeSigninHost[];
154 extern const char kChromeUIChromeURLsHost[];
155 extern const char kChromeUICloudPrintResourcesHost[];
156 extern const char kChromeUICloudPrintSetupHost[];
157 extern const char kChromeUIConflictsHost[];
158 extern const char kChromeUIConstrainedHTMLTestHost[];
159 extern const char kChromeUICrashesHost[];
160 extern const char kChromeUICrashHost[];
161 extern const char kChromeUICreditsHost[];
162 extern const char kChromeUIDefaultHost[];
163 extern const char kChromeUIDeviceLogHost[];
164 extern const char kChromeUIDevicesHost[];
165 extern const char kChromeUIDevToolsHost[];
166 extern const char kChromeUIDevToolsBundledPath[];
167 extern const char kChromeUIDevToolsRemotePath[];
168 extern const char kChromeUIDNSHost[];
169 extern const char kChromeUIDomainReliabilityInternalsHost[];
170 extern const char kChromeUIDownloadsHost[];
171 extern const char kChromeUIDriveInternalsHost[];
172 extern const char kChromeUIExtensionIconHost[];
173 extern const char kChromeUIExtensionsFrameHost[];
174 extern const char kChromeUIExtensionsHost[];
175 extern const char kChromeUIFallbackIconHost[];
176 extern const char kChromeUIFaviconHost[];
177 extern const char kChromeUIFlagsHost[];
178 extern const char kChromeUIFlashHost[];
179 extern const char kChromeUIGCMInternalsHost[];
180 extern const char kChromeUIHelpFrameHost[];
181 extern const char kChromeUIHelpHost[];
182 extern const char kChromeUIHangHost[];
183 extern const char kChromeUIHistoryHost[];
184 extern const char kChromeUIHistoryFrameHost[];
185 extern const char kChromeUIIdentityInternalsHost[];
186 extern const char kChromeUIInspectHost[];
187 extern const char kChromeUIInstantHost[];
188 extern const char kChromeUIInterstitialHost[];
189 extern const char kChromeUIInvalidationsHost[];
190 extern const char kChromeUIKillHost[];
191 extern const char kChromeUILargeIconHost[];
192 extern const char kChromeUILocalStateHost[];
193 extern const char kChromeUIMemoryHost[];
194 extern const char kChromeUIMemoryInternalsHost[];
195 extern const char kChromeUIMemoryRedirectHost[];
196 extern const char kChromeUIMdSettingsHost[];
197 extern const char kChromeUINaClHost[];
198 extern const char kChromeUINetExportHost[];
199 extern const char kChromeUINetInternalsHost[];
200 extern const char kChromeUINewTabHost[];
201 extern const char kChromeUIOmniboxHost[];
202 extern const char kChromeUIPluginsHost[];
203 extern const char kChromeUIComponentsHost[];
204 extern const char kChromeUIPolicyHost[];
205 extern const char kChromeUIProfileSigninConfirmationHost[];
206 extern const char kChromeUIProvidedFileSystemsHost[];
207 extern const char kChromeUIUserManagerHost[];
208 extern const char kChromeUIPredictorsHost[];
209 extern const char kChromeUIProfilerHost[];
210 extern const char kChromeUIQuotaInternalsHost[];
211 extern const char kChromeUIQuitHost[];
212 extern const char kChromeUIRestartHost[];
213 extern const char kChromeUISettingsHost[];
214 extern const char kChromeUISettingsFrameHost[];
215 extern const char kChromeUIShorthangHost[];
216 extern const char kChromeUISignInInternalsHost[];
217 extern const char kChromeUISuggestionsHost[];
218 extern const char kChromeUISupervisedUserPassphrasePageHost[];
219 extern const char kChromeUISyncHost[];
220 extern const char kChromeUISyncFileSystemInternalsHost[];
221 extern const char kChromeUISyncInternalsHost[];
222 extern const char kChromeUISyncResourcesHost[];
223 extern const char kChromeUISystemInfoHost[];
224 extern const char kChromeUITermsHost[];
225 extern const char kChromeUIThemeHost[];
226 extern const char kChromeUIThumbnailHost[];
227 extern const char kChromeUIThumbnailHost2[];
228 extern const char kChromeUIThumbnailListHost[];
229 extern const char kChromeUITouchIconHost[];
230 extern const char kChromeUITranslateInternalsHost[];
231 extern const char kChromeUIUberFrameHost[];
232 extern const char kChromeUIUberHost[];
233 extern const char kChromeUIUserActionsHost[];
234 extern const char kChromeUIVersionHost[];
235 extern const char kChromeUIVoiceSearchHost[];
236 extern const char kChromeUIWebRTCDeviceProviderHost[];
237 extern const char kChromeUIWorkersHost[];
239 extern const char kChromeUIThemePath[];
241 #if defined(ENABLE_PRINT_PREVIEW)
242 extern const char kChromeUIPrintHost[];
243 #endif // ENABLE_PRINT_PREVIEW
245 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
246 extern const char kChromeUILinuxProxyConfigHost[];
247 extern const char kChromeUISandboxHost[];
248 #endif
250 #if defined(OS_ANDROID)
251 extern const char kChromeUIContextualSearchPromoHost[];
252 #endif
254 #if defined(OS_CHROMEOS)
255 extern const char kChromeUIActivationMessageHost[];
256 extern const char kChromeUIAppLaunchHost[];
257 extern const char kChromeUIBluetoothPairingHost[];
258 extern const char kChromeUICertificateManagerHost[];
259 extern const char kChromeUIChooseMobileNetworkHost[];
260 extern const char kChromeUICryptohomeHost[];
261 extern const char kChromeUIDiscardsHost[];
262 extern const char kChromeUIFirstRunHost[];
263 extern const char kChromeUIImageBurnerHost[];
264 extern const char kChromeUIKeyboardOverlayHost[];
265 extern const char kChromeUILoginContainerHost[];
266 extern const char kChromeUILoginHost[];
267 extern const char kChromeUIMobileSetupHost[];
268 extern const char kChromeUINetworkHost[];
269 extern const char kChromeUINfcDebugHost[];
270 extern const char kChromeUIOobeHost[];
271 extern const char kChromeUIOobeMdHost[];
272 extern const char kChromeUIOSCreditsHost[];
273 extern const char kChromeUIPowerHost[];
274 extern const char kChromeUIProxySettingsHost[];
275 extern const char kChromeUIRotateHost[];
276 extern const char kChromeUISalsaHost[];
277 extern const char kChromeUIScreenlockIconHost[];
278 extern const char kChromeUISetTimeHost[];
279 extern const char kChromeUISimUnlockHost[];
280 extern const char kChromeUISlowHost[];
281 extern const char kChromeUISlowTraceHost[];
282 extern const char kChromeUIUserImageHost[];
284 extern const char kEULAPathFormat[];
285 extern const char kOemEulaURLPath[];
286 extern const char kOnlineEulaURLPath[];
288 extern const char kChromeOSCreditsPath[];
290 extern const char kChromeOSAssetHost[];
291 extern const char kChromeOSAssetPath[];
292 #endif // defined(OS_CHROMEOS)
294 #if defined(OS_WIN)
295 extern const char kChromeUIMetroFlowHost[];
296 #endif
298 #if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
299 extern const char kChromeUITabModalConfirmDialogHost[];
300 #endif
302 #if defined(ENABLE_WEBRTC)
303 extern const char kChromeUIWebRtcLogsHost[];
304 #endif
306 #if defined(ENABLE_MEDIA_ROUTER)
307 extern const char kChromeUIMediaRouterHost[];
308 #endif
310 // Options sub-pages.
311 extern const char kAutofillSubPage[];
312 extern const char kClearBrowserDataSubPage[];
313 extern const char kContentSettingsExceptionsSubPage[];
314 extern const char kContentSettingsSubPage[];
315 extern const char kCreateProfileSubPage[];
316 extern const char kExtensionsSubPage[];
317 extern const char kHandlerSettingsSubPage[];
318 extern const char kImportDataSubPage[];
319 extern const char kLanguageOptionsSubPage[];
320 extern const char kManageProfileSubPage[];
321 extern const char kPasswordManagerSubPage[];
322 extern const char kResetProfileSettingsSubPage[];
323 extern const char kSearchEnginesSubPage[];
324 extern const char kSearchSubPage[];
325 extern const char kSearchUsersSubPage[];
326 extern const char kSyncSetupSubPage[];
327 #if defined(OS_CHROMEOS)
328 extern const char kInternetOptionsSubPage[];
329 extern const char kChangeProfilePictureSubPage[];
330 #endif
332 // Extensions sub pages.
333 extern const char kExtensionConfigureCommandsSubPage[];
335 // URLs used to indicate that an extension resource load request
336 // was invalid.
337 extern const char kExtensionInvalidRequestURL[];
338 extern const char kExtensionResourceInvalidRequestURL[];
340 extern const char kSyncGoogleDashboardURL[];
342 extern const char kPasswordManagerLearnMoreURL[];
343 extern const char kPasswordManagerAccountDashboardURL[];
345 // "Learn more" URL for the Settings API, NTP bubble and other settings bubbles
346 // showing which extension is controlling them.
347 extern const char kExtensionControlledSettingLearnMoreURL[];
349 // General help links for Chrome, opened using various actions.
350 extern const char kChromeHelpViaKeyboardURL[];
351 extern const char kChromeHelpViaMenuURL[];
352 extern const char kChromeHelpViaWebUIURL[];
354 #if defined(OS_CHROMEOS)
355 // Accessibility help link for Chrome.
356 extern const char kChromeAccessibilityHelpURL[];
357 // Accessibility settings link for Chrome.
358 extern const char kChromeAccessibilitySettingsURL[];
359 #endif
361 #if defined (ENABLE_ONE_CLICK_SIGNIN)
362 // "Learn more" URL for the one click signin infobar.
363 extern const char kChromeSyncLearnMoreURL[];
365 // "Learn more" URL for the "Sign in with a different account" confirmation
366 // dialog.
367 extern const char kChromeSyncMergeTroubleshootingURL[];
368 #endif
370 #if defined(OS_MACOSX)
371 // "Learn more" URL for the enterprise sign-in confirmation dialog.
372 extern const char kChromeEnterpriseSignInLearnMoreURL[];
373 #endif
375 // "Learn more" URL for resetting profile preferences.
376 extern const char kResetProfileSettingsLearnMoreURL[];
378 // "Learn more" URL for when profile settings are automatically reset.
379 extern const char kAutomaticSettingsResetLearnMoreURL[];
381 // Management URL for the supervised users.
382 extern const char kSupervisedUserManagementURL[];
384 // Management URL for the supervised users - version without scheme, used
385 // for display.
386 extern const char kSupervisedUserManagementDisplayURL[];
388 // Help URL for the settings page's search feature.
389 extern const char kSettingsSearchHelpURL[];
391 // Help URL for the Omnibox setting.
392 extern const char kOmniboxLearnMoreURL[];
394 // "What do these mean?" URL for the Page Info bubble.
395 extern const char kPageInfoHelpCenterURL[];
397 // "Learn more" URL for "Aw snap" page.
398 extern const char kCrashReasonURL[];
400 // "Learn more" URL for killed tab page.
401 extern const char kKillReasonURL[];
403 // "Learn more" URL for the Privacy section under Options.
404 extern const char kPrivacyLearnMoreURL[];
406 // "Learn more" URL for the "Do not track" setting in the privacy section.
407 extern const char kDoNotTrackLearnMoreURL[];
409 #if defined(OS_CHROMEOS)
410 // "Learn more" URL for the attestation of content protection setting.
411 extern const char kAttestationForContentProtectionLearnMoreURL[];
412 #endif
414 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
415 // "Learn more" URL for the enhanced playback notification dialog.
416 extern const char kEnhancedPlaybackNotificationLearnMoreURL[];
417 #endif
419 // The URL for the Chromium project used in the About dialog.
420 extern const char kChromiumProjectURL[];
422 // The URL for the "Learn more" page for the usage/crash reporting option in the
423 // first run dialog.
424 extern const char kLearnMoreReportingURL[];
426 #if defined(ENABLE_PLUGIN_INSTALLATION)
427 // The URL for the "Learn more" page for the outdated plugin infobar.
428 extern const char kOutdatedPluginLearnMoreURL[];
429 #endif
431 // The URL for the "Learn more" page for the blocked plugin infobar.
432 extern const char kBlockedPluginLearnMoreURL[];
434 // The URL for the "Learn more" page for hotword search voice trigger.
435 extern const char kHotwordLearnMoreURL[];
437 // The URL for managing a user's audio history.
438 extern const char kManageAudioHistoryURL[];
440 // The URL for the "Learn more" page for register protocol handler infobars.
441 extern const char kLearnMoreRegisterProtocolHandlerURL[];
443 // The URL for the "Learn more" page for sync setup on the personal stuff page.
444 extern const char kSyncLearnMoreURL[];
446 // The URL for the "Learn more" page for download scanning.
447 extern const char kDownloadScanningLearnMoreURL[];
449 // The URL for the "Learn more" page for interrupted downloads.
450 extern const char kDownloadInterruptedLearnMoreURL[];
452 // The URL for the "Learn more" page on the sync setup dialog, when syncing
453 // everything.
454 extern const char kSyncEverythingLearnMoreURL[];
456 // The URL for information on how to use the app launcher.
457 extern const char kAppLauncherHelpURL[];
459 // The URL for the "Learn more" page on sync encryption.
460 extern const char kSyncEncryptionHelpURL[];
462 // The URL for the "Learn more" link when there is a sync error.
463 extern const char kSyncErrorsHelpURL[];
465 #if defined(OS_CHROMEOS)
466 // The URL for the "Learn more" link for natural scrolling on ChromeOS.
467 extern const char kNaturalScrollHelpURL[];
469 // The URL for the Learn More page about enterprise enrolled devices.
470 extern const char kLearnMoreEnterpriseURL[];
471 #endif
473 // The URL for the Learn More link of the non-CWS bubble.
474 extern const char kRemoveNonCWSExtensionURL[];
476 #if defined(OS_WIN)
477 extern const char kNotificationsHelpURL[];
478 #endif
480 // The Welcome Notification More Info URL.
481 extern const char kNotificationWelcomeLearnMoreURL[];
483 // Gets the hosts/domains that are shown in chrome://chrome-urls.
484 extern const char* const kChromeHostURLs[];
485 extern const size_t kNumberOfChromeHostURLs;
487 // "Debug" pages which are dangerous and not for general consumption.
488 extern const char* const kChromeDebugURLs[];
489 extern const int kNumberOfChromeDebugURLs;
491 // The chrome-native: scheme is used show pages rendered with platform specific
492 // widgets instead of using HTML.
493 extern const char kChromeNativeScheme[];
495 // The chrome-search: scheme is served by the same backend as chrome:. However,
496 // only specific URLDataSources are enabled to serve requests via the
497 // chrome-search: scheme. See |InstantIOContext::ShouldServiceRequest| and its
498 // callers for details. Note that WebUIBindings should never be granted to
499 // chrome-search: pages. chrome-search: pages are displayable but not readable
500 // by external search providers (that are rendered by Instant renderer
501 // processes), and neither displayable nor readable by normal (non-Instant) web
502 // pages. To summarize, a non-Instant process, when trying to access
503 // 'chrome-search://something', will bump up against the following:
505 // 1. Renderer: The display-isolated check in WebKit will deny the request,
506 // 2. Browser: Assuming they got by #1, the scheme checks in
507 // URLDataSource::ShouldServiceRequest will deny the request,
508 // 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource
509 // there are additional Instant-PID checks that make sure the request is
510 // coming from a blessed Instant process, and deny the request.
511 extern const char kChromeSearchScheme[];
513 // Pages under chrome-search.
514 extern const char kChromeSearchLocalNtpHost[];
515 extern const char kChromeSearchLocalNtpUrl[];
516 extern const char kChromeSearchRemoteNtpHost[];
518 // Host and URL for most visited iframes used on the Instant Extended NTP.
519 extern const char kChromeSearchMostVisitedHost[];
520 extern const char kChromeSearchMostVisitedUrl[];
522 #if defined(OS_CHROMEOS)
523 extern const char kCrosScheme[];
524 #endif
526 // "Learn more" URL for the Cloud Print section under Options.
527 extern const char kCloudPrintLearnMoreURL[];
529 // "Learn more" URL for the Cloud Print Preview No Destinations Promotion.
530 extern const char kCloudPrintNoDestinationsLearnMoreURL[];
532 // Parameters that get appended to force SafeSearch.
533 extern const char kSafeSearchSafeParameter[];
534 extern const char kSafeSearchSsuiParameter[];
536 // The URL for the "Learn more" link in the media access infobar.
537 extern const char kMediaAccessLearnMoreUrl[];
539 // The URL for the "Learn more" link in the language settings.
540 extern const char kLanguageSettingsLearnMoreUrl[];
542 #if defined(OS_MACOSX)
543 // The URL for the 32-bit Mac deprecation help center article
544 extern const char kMac32BitDeprecationURL[];
545 #endif
547 // The URL for the "Learn more" link the the Easy Unlock settings.
548 extern const char kEasyUnlockLearnMoreUrl[];
550 } // namespace chrome
552 #endif // CHROME_COMMON_URL_CONSTANTS_H_