blob: bd6f0e85f540b33d5481fc1c3a89a84611d4a143 [file] [log] [blame]
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001// 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.
4
5// Contains constants for known URLs and portions thereof.
6
7#ifndef CHROME_COMMON_URL_CONSTANTS_H_
8#define CHROME_COMMON_URL_CONSTANTS_H_
9
Ben Murdoch558790d2013-07-30 15:19:42 +010010#include <string>
11#include <vector>
12
Torne (Richard Coles)58218062012-11-14 11:43:16 +000013#include "build/build_config.h"
14#include "content/public/common/url_constants.h"
15
16namespace chrome {
17
18// TODO(msw): Resolve chrome_frame dependency on these constants.
Torne (Richard Coles)3551c9c2013-08-23 16:39:15 +010019extern const char kAboutComponentsURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000020extern const char kAboutPluginsURL[];
21extern const char kAboutVersionURL[];
22
23// chrome: URLs (including schemes). Should be kept in sync with the
24// components below.
25extern const char kChromeUIAboutURL[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000026extern const char kChromeUIAppsURL[];
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +010027extern const char kChromeUIAppListStartPageURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000028extern const char kChromeUIBookmarksURL[];
29extern const char kChromeUICertificateViewerURL[];
30extern const char kChromeUIChromeURLsURL[];
31extern const char kChromeUICloudPrintResourcesURL[];
Torne (Richard Coles)3551c9c2013-08-23 16:39:15 +010032extern const char kChromeUIComponentsURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000033extern const char kChromeUIConflictsURL[];
34extern const char kChromeUIConstrainedHTMLTestURL[];
35extern const char kChromeUICrashesURL[];
36extern const char kChromeUICreditsURL[];
Ben Murdoch9ab55632013-07-18 11:57:30 +010037extern const char kChromeUIDevicesURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000038extern const char kChromeUIDevToolsURL[];
39extern const char kChromeUIDownloadsURL[];
40extern const char kChromeUIEditSearchEngineDialogURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000041extern const char kChromeUIExtensionIconURL[];
42extern const char kChromeUIExtensionInfoURL[];
43extern const char kChromeUIExtensionsFrameURL[];
44extern const char kChromeUIExtensionsURL[];
45extern const char kChromeUIFaviconURL[];
46extern const char kChromeUIFeedbackURL[];
47extern const char kChromeUIFlagsURL[];
48extern const char kChromeUIFlashURL[];
49extern const char kChromeUIHelpFrameURL[];
50extern const char kChromeUIHistoryURL[];
51extern const char kChromeUIHistoryFrameURL[];
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +010052extern const char kChromeUIIdentityInternalsURL[];
Torne (Richard Coles)90dce4d2013-05-29 14:40:03 +010053extern const char kChromeUIInlineLoginURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000054extern const char kChromeUIInspectURL[];
55extern const char kChromeUIInstantURL[];
56extern const char kChromeUIIPCURL[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000057extern const char kChromeUIManagedUserPassphrasePageURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000058extern const char kChromeUIMemoryRedirectURL[];
59extern const char kChromeUIMemoryURL[];
60extern const char kChromeUIMetroFlowURL[];
61extern const char kChromeUINaClURL[];
62extern const char kChromeUINetInternalsURL[];
63extern const char kChromeUINewProfile[];
64extern const char kChromeUINewTabURL[];
65extern const char kChromeUIOmniboxURL[];
66extern const char kChromeUIPerformanceMonitorURL[];
67extern const char kChromeUIPluginsURL[];
68extern const char kChromeUIPolicyURL[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000069extern const char kChromeUIProfileSigninConfirmationURL[];
Ben Murdochba5b9a62013-08-12 14:20:17 +010070extern const char kChromeUIUserManagerURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000071extern const char kChromeUIPrintURL[];
Ben Murdocheb525c52013-07-10 11:40:50 +010072extern const char kChromeUIRestartURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000073extern const char kChromeUISessionFaviconURL[];
74extern const char kChromeUISettingsURL[];
75extern const char kChromeUISettingsFrameURL[];
76extern const char kChromeUISuggestionsInternalsURL[];
77extern const char kChromeUISSLClientCertificateSelectorURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000078extern const char kChromeUITaskManagerURL[];
79extern const char kChromeUITermsURL[];
80extern const char kChromeUIThemeURL[];
81extern const char kChromeUIThumbnailURL[];
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +010082extern const char kChromeUIThumbnailListURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000083extern const char kChromeUIUberURL[];
84extern const char kChromeUIUberFrameURL[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000085extern const char kChromeUIUserActionsURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000086extern const char kChromeUIVersionURL[];
87
88#if defined(OS_ANDROID)
89extern const char kChromeUIWelcomeURL[];
90#endif
91
92#if defined(OS_CHROMEOS)
93extern const char kChromeUIActivationMessage[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +000094extern const char kChromeUIBluetoothPairingURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000095extern const char kChromeUIChooseMobileNetworkURL[];
96extern const char kChromeUIDiagnosticsURL[];
97extern const char kChromeUIDiscardsURL[];
Torne (Richard Coles)58537e22013-09-12 12:10:22 +010098extern const char kChromeUIFirstRunURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +000099extern const char kChromeUIIdleLogoutDialogURL[];
100extern const char kChromeUIImageBurnerURL[];
101extern const char kChromeUIKeyboardOverlayURL[];
102extern const char kChromeUILockScreenURL[];
103extern const char kChromeUIMediaplayerURL[];
104extern const char kChromeUIMobileSetupURL[];
105extern const char kChromeUIOobeURL[];
106extern const char kChromeUIOSCreditsURL[];
107extern const char kChromeUIProxySettingsURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000108extern const char kChromeUISimUnlockURL[];
109extern const char kChromeUISlideshowURL[];
Ben Murdochba5b9a62013-08-12 14:20:17 +0100110extern const char kChromeUISlowURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000111extern const char kChromeUISystemInfoURL[];
112extern const char kChromeUITermsOemURL[];
113extern const char kChromeUIUserImageURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000114#endif
115
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000116#if defined(FILE_MANAGER_EXTENSION)
117extern const char kChromeUIFileManagerURL[];
118#endif
119
120#if defined(USE_AURA)
121extern const char kChromeUIGestureConfigURL[];
122extern const char kChromeUIGestureConfigHost[];
Ben Murdocheb525c52013-07-10 11:40:50 +0100123extern const char kChromeUISalsaURL[];
124extern const char kChromeUISalsaHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000125#endif
126
127#if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000128extern const char kChromeUITabModalConfirmDialogURL[];
129#endif
130
Ben Murdocheb525c52013-07-10 11:40:50 +0100131#if defined(ENABLE_WEBRTC)
132extern const char kChromeUIWebRtcLogsURL[];
133#endif
134
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000135// chrome components of URLs. Should be kept in sync with the full URLs above.
136extern const char kChromeUIAboutHost[];
137extern const char kChromeUIAboutPageFrameHost[];
138extern const char kChromeUIBlankHost[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000139extern const char kChromeUIAppLauncherPageHost[];
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100140extern const char kChromeUIAppListStartPageHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000141extern const char kChromeUIBookmarksHost[];
142extern const char kChromeUICacheHost[];
143extern const char kChromeUICertificateViewerHost[];
144extern const char kChromeUIChromeURLsHost[];
145extern const char kChromeUICloudPrintResourcesHost[];
146extern const char kChromeUICloudPrintSetupHost[];
147extern const char kChromeUIConflictsHost[];
148extern const char kChromeUIConstrainedHTMLTestHost[];
149extern const char kChromeUICrashesHost[];
150extern const char kChromeUICrashHost[];
151extern const char kChromeUICreditsHost[];
152extern const char kChromeUIDefaultHost[];
Ben Murdoch9ab55632013-07-18 11:57:30 +0100153extern const char kChromeUIDevicesHost[];
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100154extern const char kChromeUIDevToolsHost[];
155extern const char kChromeUIDevToolsBundledPath[];
156extern const char kChromeUIDevToolsRemotePath[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000157extern const char kChromeUIDNSHost[];
158extern const char kChromeUIDownloadsHost[];
159extern const char kChromeUIDriveInternalsHost[];
160extern const char kChromeUIEditSearchEngineDialogHost[];
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100161extern const char kChromeUIEnhancedBookmarksHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000162extern const char kChromeUIExtensionIconHost[];
163extern const char kChromeUIExtensionInfoHost[];
164extern const char kChromeUIExtensionsFrameHost[];
165extern const char kChromeUIExtensionsHost[];
166extern const char kChromeUIFaviconHost[];
167extern const char kChromeUIFeedbackHost[];
168extern const char kChromeUIFlagsHost[];
169extern const char kChromeUIFlashHost[];
170extern const char kChromeUIHelpFrameHost[];
171extern const char kChromeUIHelpHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000172extern const char kChromeUIHangHost[];
173extern const char kChromeUIHistoryHost[];
174extern const char kChromeUIHistoryFrameHost[];
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100175extern const char kChromeUIIdentityInternalsHost[];
Torne (Richard Coles)90dce4d2013-05-29 14:40:03 +0100176extern const char kChromeUIInlineLoginHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000177extern const char kChromeUIInspectHost[];
178extern const char kChromeUIInstantHost[];
179extern const char kChromeUIIPCHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000180extern const char kChromeUIKillHost[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000181extern const char kChromeUIManagedUserPassphrasePageHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000182extern const char kChromeUIMemoryHost[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000183extern const char kChromeUIMemoryInternalsHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000184extern const char kChromeUIMemoryRedirectHost[];
185extern const char kChromeUIMetroFlowHost[];
186extern const char kChromeUINaClHost[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000187extern const char kChromeUINetExportHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000188extern const char kChromeUINetInternalsHost[];
189extern const char kChromeUINewTabHost[];
190extern const char kChromeUIOmniboxHost[];
191extern const char kChromeUIPerformanceMonitorHost[];
192extern const char kChromeUIPluginsHost[];
Torne (Richard Coles)3551c9c2013-08-23 16:39:15 +0100193extern const char kChromeUIComponentsHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000194extern const char kChromeUIPolicyHost[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000195extern const char kChromeUIProfileSigninConfirmationHost[];
Ben Murdochba5b9a62013-08-12 14:20:17 +0100196extern const char kChromeUIUserManagerHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000197extern const char kChromeUIPredictorsHost[];
198extern const char kChromeUIPrintHost[];
199extern const char kChromeUIProfilerHost[];
200extern const char kChromeUIQuotaInternalsHost[];
Ben Murdocheb525c52013-07-10 11:40:50 +0100201extern const char kChromeUIRestartHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000202extern const char kChromeUISessionFaviconHost[];
203extern const char kChromeUISettingsHost[];
204extern const char kChromeUISettingsFrameHost[];
205extern const char kChromeUIShorthangHost[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000206extern const char kChromeUISignInInternalsHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000207extern const char kChromeUISuggestionsInternalsHost[];
208extern const char kChromeUISSLClientCertificateSelectorHost[];
209extern const char kChromeUIStatsHost[];
210extern const char kChromeUISyncHost[];
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +0100211extern const char kChromeUISyncFileSystemInternalsHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000212extern const char kChromeUISyncInternalsHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000213extern const char kChromeUISyncResourcesHost[];
214extern const char kChromeUITaskManagerHost[];
215extern const char kChromeUITermsHost[];
216extern const char kChromeUIThemeHost[];
217extern const char kChromeUIThumbnailHost[];
Torne (Richard Coles)d0247b12013-09-19 22:36:51 +0100218extern const char kChromeUIThumbnailHost2[];
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100219extern const char kChromeUIThumbnailListHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000220extern const char kChromeUITouchIconHost[];
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +0100221extern const char kChromeUITranslateInternalsHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000222extern const char kChromeUIUberFrameHost[];
223extern const char kChromeUIUberHost[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000224extern const char kChromeUIUserActionsHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000225extern const char kChromeUIVersionHost[];
226extern const char kChromeUIWorkersHost[];
227
228extern const char kChromeUIScreenshotPath[];
229extern const char kChromeUIThemePath[];
230
231#if defined(OS_ANDROID)
232extern const char kChromeUIWelcomeHost[];
233#endif
234
Torne (Richard Coles)68043e12013-09-26 13:24:57 +0100235#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000236extern const char kChromeUILinuxProxyConfigHost[];
237extern const char kChromeUISandboxHost[];
238#endif
239
240#if defined(OS_CHROMEOS)
241extern const char kChromeUIActivationMessageHost[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000242extern const char kChromeUIAppLaunchHost[];
243extern const char kChromeUIBluetoothPairingHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000244extern const char kChromeUIChooseMobileNetworkHost[];
245extern const char kChromeUICryptohomeHost[];
246extern const char kChromeUIDiagnosticsHost[];
247extern const char kChromeUIDiscardsHost[];
Torne (Richard Coles)58537e22013-09-12 12:10:22 +0100248extern const char kChromeUIFirstRunHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000249extern const char kChromeUIIdleLogoutDialogHost[];
250extern const char kChromeUIImageBurnerHost[];
251extern const char kChromeUIKeyboardOverlayHost[];
252extern const char kChromeUILockScreenHost[];
253extern const char kChromeUILoginContainerHost[];
254extern const char kChromeUILoginHost[];
255extern const char kChromeUIMediaplayerHost[];
256extern const char kChromeUIMobileSetupHost[];
257extern const char kChromeUINetworkHost[];
258extern const char kChromeUIOobeHost[];
259extern const char kChromeUIOSCreditsHost[];
260extern const char kChromeUIProxySettingsHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000261extern const char kChromeUIRotateHost[];
262extern const char kChromeUISimUnlockHost[];
263extern const char kChromeUISlideshowHost[];
Ben Murdochba5b9a62013-08-12 14:20:17 +0100264extern const char kChromeUISlowHost[];
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100265extern const char kChromeUISlowTraceHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000266extern const char kChromeUISystemInfoHost[];
267extern const char kChromeUIUserImageHost[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000268
269extern const char kChromeUIMenu[];
270extern const char kChromeUINetworkMenu[];
271extern const char kChromeUIWrenchMenu[];
272
273extern const char kEULAPathFormat[];
274extern const char kOemEulaURLPath[];
Torne (Richard Coles)a93a17c2013-05-15 11:34:50 +0100275extern const char kOnlineEulaURLPath[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000276#endif
277
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000278#if defined(FILE_MANAGER_EXTENSION)
279extern const char kChromeUIFileManagerHost[];
280#endif
281
282#if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000283extern const char kChromeUITabModalConfirmDialogHost[];
284#endif
285
Ben Murdocheb525c52013-07-10 11:40:50 +0100286#if defined(ENABLE_WEBRTC)
287extern const char kChromeUIWebRtcLogsHost[];
288#endif
289
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000290// Options sub-pages.
291extern const char kAutofillSubPage[];
292extern const char kClearBrowserDataSubPage[];
293extern const char kContentSettingsExceptionsSubPage[];
294extern const char kContentSettingsSubPage[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000295extern const char kCreateProfileSubPage[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000296extern const char kExtensionsSubPage[];
297extern const char kHandlerSettingsSubPage[];
298extern const char kImportDataSubPage[];
299extern const char kLanguageOptionsSubPage[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000300extern const char kManagedUserSettingsSubPage[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000301extern const char kManageProfileSubPage[];
302extern const char kPasswordManagerSubPage[];
303extern const char kSearchEnginesSubPage[];
304extern const char kSearchSubPage[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000305extern const char kSearchUsersSubPage[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000306extern const char kSyncSetupSubPage[];
307#if defined(OS_CHROMEOS)
308extern const char kInternetOptionsSubPage[];
309extern const char kBluetoothAddDeviceSubPage[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000310extern const char kChangeProfilePictureSubPage[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000311#endif
312
313// Extensions sub pages.
314extern const char kExtensionConfigureCommandsSubPage[];
315
316// URLs used to indicate that an extension resource load request
317// was invalid.
318extern const char kExtensionInvalidRequestURL[];
319extern const char kExtensionResourceInvalidRequestURL[];
320
321extern const char kSyncGoogleDashboardURL[];
322
323// "Learn more" URL for the auto password generation.
324extern const char kAutoPasswordGenerationLearnMoreURL[];
325
326extern const char kPasswordManagerLearnMoreURL[];
327
328// General help links for Chrome, opened using various actions.
329extern const char kChromeHelpViaKeyboardURL[];
330extern const char kChromeHelpViaMenuURL[];
331extern const char kChromeHelpViaWebUIURL[];
332
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000333#if defined(OS_CHROMEOS)
334// Accessibility help link for Chrome.
335extern const char kChromeAccessibilityHelpURL[];
336#endif
337
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100338#if defined (ENABLE_ONE_CLICK_SIGNIN)
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000339// "Learn more" URL for the one click signin infobar.
340extern const char kChromeSyncLearnMoreURL[];
341
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100342// "Learn more" URL for the "Sign in with a different account" confirmation
343// dialog.
344extern const char kChromeSyncMergeTroubleshootingURL[];
345#endif
346
Torne (Richard Coles)868fa2f2013-06-11 10:57:03 +0100347// "Learn more" URL for the enterprise sign-in confirmation dialog.
348extern const char kChromeEnterpriseSignInLearnMoreURL[];
349
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100350// "Learn more" URL for resetting profile preferences.
351extern const char kResetProfileSettingsLearnMoreURL[];
352
Ben Murdocheb525c52013-07-10 11:40:50 +0100353// Management URL for the supervised users.
354extern const char kSupervisedUserManagementURL[];
355
356// Management URL for the supervised users - version without scheme, used
357// for display.
358extern const char kSupervisedUserManagementDisplayURL[];
359
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000360// Help URL for the settings page's search feature.
361extern const char kSettingsSearchHelpURL[];
362
363// "About" URL for the translate bar's options menu.
364extern const char kAboutGoogleTranslateURL[];
365
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000366// Help URL for the Omnibox setting.
367extern const char kOmniboxLearnMoreURL[];
368
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000369// "What do these mean?" URL for the Page Info bubble.
370extern const char kPageInfoHelpCenterURL[];
371
372// "Learn more" URL for "Aw snap" page.
373extern const char kCrashReasonURL[];
374
375// "Learn more" URL for killed tab page.
376extern const char kKillReasonURL[];
377
378// "Learn more" URL for the Privacy section under Options.
379extern const char kPrivacyLearnMoreURL[];
380
381// "Learn more" URL for the "Do not track" setting in the privacy section.
382extern const char kDoNotTrackLearnMoreURL[];
383
Torne (Richard Coles)4e180b62013-10-18 15:46:22 +0100384#if defined(OS_CHROMEOS)
385// "Learn more" URL for the attestation of content protection dialog / setting.
386// This URL is currently ChromeOS only.
387extern const char kAttestationForContentProtectionLearnMoreURL[];
388#endif
389
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000390// The URL for the Chromium project used in the About dialog.
391extern const char kChromiumProjectURL[];
392
393// The URL for the "Learn more" page for the usage/crash reporting option in the
394// first run dialog.
395extern const char kLearnMoreReportingURL[];
396
397// The URL for the "Learn more" page for the outdated plugin infobar.
398extern const char kOutdatedPluginLearnMoreURL[];
399
400// The URL for the "Learn more" page for the blocked plugin infobar.
401extern const char kBlockedPluginLearnMoreURL[];
402
403// The URL for the "About Voice Recognition" menu item.
404extern const char kSpeechInputAboutURL[];
405
406// The URL for the "Learn more" page for register protocol handler infobars.
407extern const char kLearnMoreRegisterProtocolHandlerURL[];
408
409// The URL for the "Learn more" page for sync setup on the personal stuff page.
410extern const char kSyncLearnMoreURL[];
411
412// The URL for the "Learn more" page for download scanning.
413extern const char kDownloadScanningLearnMoreURL[];
414
Ben Murdocha3f7b4e2013-07-24 10:36:34 +0100415// The URL for the "Learn more" page for downloads flagged as potentially
416// unwanted by the SafeBrowsing service.
417extern const char kDownloadPotentiallyUnwantedLearnMoreURL[];
418
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000419// The URL for the "Learn more" page for interrupted downloads.
420extern const char kDownloadInterruptedLearnMoreURL[];
421
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000422// The URL for the "Learn more" page on the sync setup dialog, when syncing
423// everything.
424extern const char kSyncEverythingLearnMoreURL[];
425
Torne (Richard Coles)90dce4d2013-05-29 14:40:03 +0100426// The URL for information on how to use the app launcher.
427extern const char kAppLauncherHelpURL[];
428
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000429// The URL for the "Learn more" page on sync encryption.
430extern const char kSyncEncryptionHelpURL[];
431
432// The URL for the "Learn more" link when there is a sync error.
433extern const char kSyncErrorsHelpURL[];
434
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000435// The URL for the help article explaining sideload wipeout in more details.
436extern const char kSideloadWipeoutHelpURL[];
437
438#if defined(OS_CHROMEOS)
439// The URL for the "Learn more" link for natural scrolling on ChromeOS.
440extern const char kNaturalScrollHelpURL[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000441
442// The URL for the Learn More page about enterprise enrolled devices.
443extern const char kLearnMoreEnterpriseURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000444#endif
445
Ben Murdocheb525c52013-07-10 11:40:50 +0100446extern const char kNotificationsHelpURL[];
447
Ben Murdoch558790d2013-07-30 15:19:42 +0100448// Gets the hosts/domains that are shown in chrome://chrome-urls.
449extern const char* const kChromeHostURLs[];
450extern const size_t kNumberOfChromeHostURLs;
451
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000452// "Debug" pages which are dangerous and not for general consumption.
453extern const char* const kChromeDebugURLs[];
454extern const int kNumberOfChromeDebugURLs;
455
456// Canonical schemes you can use as input to GURL.SchemeIs().
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000457extern const char kExtensionResourceScheme[];
458
Ben Murdoch7dbb3d52013-07-17 14:55:54 +0100459// The chrome-native: scheme is used show pages rendered with platform specific
460// widgets instead of using HTML.
461extern const char kChromeNativeScheme[];
462
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000463// The chrome-search: scheme is served by the same backend as chrome:. However,
464// only specific URLDataSources are enabled to serve requests via the
465// chrome-search: scheme. See |InstantIOContext::ShouldServiceRequest| and its
466// callers for details. Note that WebUIBindings should never be granted to
467// chrome-search: pages. chrome-search: pages are displayable but not readable
468// by external search providers (that are rendered by Instant renderer
469// processes), and neither displayable nor readable by normal (non-Instant) web
470// pages. To summarize, a non-Instant process, when trying to access
471// 'chrome-search://something', will bump up against the following:
472//
473// 1. Renderer: The display-isolated check in WebKit will deny the request,
474// 2. Browser: Assuming they got by #1, the scheme checks in
475// URLDataSource::ShouldServiceRequest will deny the request,
476// 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource
477// there are additional Instant-PID checks that make sure the request is
478// coming from a blessed Instant process, and deny the request.
479extern const char kChromeSearchScheme[];
480
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +0100481// Pages under chrome-search.
482extern const char kChromeSearchLocalNtpHost[];
483extern const char kChromeSearchLocalNtpUrl[];
Ben Murdochca12bfa2013-07-23 11:17:05 +0100484extern const char kChromeSearchOnlineNtpHost[];
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000485
Torne (Richard Coles)c2e0dbd2013-05-09 18:35:53 +0100486// Host and URL for most visited iframes used on the Instant Extended NTP.
487extern const char kChromeSearchMostVisitedHost[];
488extern const char kChromeSearchMostVisitedUrl[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000489
490#if defined(OS_CHROMEOS)
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000491extern const char kCrosScheme[];
492extern const char kDriveScheme[];
Torne (Richard Coles)68043e12013-09-26 13:24:57 +0100493#endif
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000494
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000495// "Learn more" URL for the Cloud Print section under Options.
496extern const char kCloudPrintLearnMoreURL[];
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000497
498// Parameters that get appended to force SafeSearch.
499extern const char kSafeSearchSafeParameter[];
500extern const char kSafeSearchSsuiParameter[];
501
Torne (Richard Coles)2a99a7e2013-03-28 15:31:22 +0000502// The URL for the "Learn more" link in the media access infobar.
503extern const char kMediaAccessLearnMoreUrl[];
504
Torne (Richard Coles)58218062012-11-14 11:43:16 +0000505} // namespace chrome
506
507#endif // CHROME_COMMON_URL_CONSTANTS_H_