blob: 4012895fae590cf65e722b39fe1e2e03c43ad75b [file] [log] [blame]
[email protected]864a09072011-02-09 13:59:011// Copyright (c) 2011 The Chromium Authors. All rights reserved.
[email protected]6aad4bd2009-02-26 22:55:172// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/common/url_constants.h"
[email protected]692c5342011-05-25 19:16:216
[email protected]7fc13ed2010-03-06 05:06:207#include "googleurl/src/url_util.h"
[email protected]6aad4bd2009-02-26 22:55:178
[email protected]2a80aee2011-10-07 16:06:039namespace {
10const char* kSavableSchemes[] = {
11 chrome::kExtensionScheme,
12 NULL
13};
14} // namespace
15
[email protected]6aad4bd2009-02-26 22:55:1716namespace chrome {
17
[email protected]49699e8f2010-05-28 15:30:2018#if defined(OS_CHROMEOS)
19const char kCrosScheme[] = "cros";
20#endif
21
[email protected]cd8c90582010-03-24 06:36:1922const char kAboutPluginsURL[] = "about:plugins";
[email protected]4895ce82010-06-28 20:25:5923const char kAboutVersionURL[] = "about:version";
[email protected]cd3d7892009-03-04 23:55:0624
[email protected]62794f462011-07-19 05:50:1625// Add Chrome UI URLs as necessary, in alphabetical order.
26// Be sure to add the corresponding kChromeUI*Host constant below.
[email protected]89f550b2011-06-08 18:34:0327const char kChromeUIAboutURL[] = "chrome://about/";
[email protected]6404197b2010-03-03 00:40:4028const char kChromeUIBookmarksURL[] = "chrome://bookmarks/";
[email protected]ac1894a2010-08-22 10:38:5429const char kChromeUIBugReportURL[] = "chrome://bugreport/";
[email protected]8ebc9b42011-07-14 15:22:1830const char kChromeUICertificateViewerURL[] = "chrome://view-cert/";
[email protected]4e8655d2011-06-16 17:20:1731const char kChromeUIChromeURLsURL[] = "chrome://chrome-urls/";
[email protected]89f550b2011-06-08 18:34:0332const char kChromeUICloudPrintResourcesURL[] = "chrome://cloudprintresources/";
[email protected]c1bbaa82010-11-08 11:17:0533const char kChromeUIConflictsURL[] = "chrome://conflicts/";
[email protected]aa7f2902010-10-19 20:59:0434const char kChromeUIConstrainedHTMLTestURL[] = "chrome://constrained-test/";
[email protected]c8717adf72011-02-18 21:07:1635const char kChromeUICrashesURL[] = "chrome://crashes/";
[email protected]89f550b2011-06-08 18:34:0336const char kChromeUICrashURL[] = "chrome://crash/";
37const char kChromeUICreditsURL[] = "chrome://credits/";
[email protected]27c790d42010-10-22 09:28:4338const char kChromeUIDevToolsURL[] = "chrome-devtools://devtools/";
[email protected]60e448982009-05-06 04:21:1639const char kChromeUIDownloadsURL[] = "chrome://downloads/";
[email protected]02b075972011-10-19 18:39:0040const char kChromeUIEditSearchEngineDialogURL[] = "chrome://editsearchengine/";
[email protected]f83773f2011-03-02 19:15:2141const char kChromeUIExtensionIconURL[] = "chrome://extension-icon/";
[email protected]60e448982009-05-06 04:21:1642const char kChromeUIExtensionsURL[] = "chrome://extensions/";
[email protected]f16039d22011-03-16 18:54:0543const char kChromeUIFaviconURL[] = "chrome://favicon/";
[email protected]9486c1f2010-10-14 19:52:1244const char kChromeUIFlagsURL[] = "chrome://flags/";
[email protected]fca58f02011-05-27 19:45:3945const char kChromeUIFlashURL[] = "chrome://flash/";
[email protected]3cf7c2982011-08-20 05:48:1346const char kChromeUIGpuCleanURL[] = "chrome://gpuclean";
[email protected]37ae3f22011-07-12 03:56:1447const char kChromeUIGpuCrashURL[] = "chrome://gpucrash";
[email protected]3cf7c2982011-08-20 05:48:1348const char kChromeUIGpuHangURL[] = "chrome://gpuhang";
[email protected]89f550b2011-06-08 18:34:0349const char kChromeUIHangURL[] = "chrome://hang/";
[email protected]52728512010-08-27 11:44:3650const char kChromeUIHistory2URL[] = "chrome://history2/";
[email protected]ad2a3ded2010-08-27 13:19:0551const char kChromeUIHistoryURL[] = "chrome://history/";
[email protected]1b0b20f2011-08-22 21:51:2952const char kChromeUIHungRendererDialogURL[] = "chrome://hung-renderer/";
[email protected]89f550b2011-06-08 18:34:0353const char kChromeUIIPCURL[] = "chrome://ipc/";
[email protected]9c88d4752010-09-16 20:59:4254const char kChromeUIKeyboardURL[] = "chrome://keyboard/";
[email protected]89f550b2011-06-08 18:34:0355const char kChromeUIKillURL[] = "chrome://kill/";
[email protected]89f550b2011-06-08 18:34:0356const char kChromeUIMemoryRedirectURL[] = "chrome://memory-redirect/";
[email protected]ba3b4762011-10-20 20:07:4357const char kChromeUIMemoryURL[] = "chrome://memory/";
[email protected]ff8ac0f2011-08-04 16:59:1158const char kChromeUINetInternalsURL[] = "chrome://net-internals/";
[email protected]ba3b4762011-10-20 20:07:4359const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/";
[email protected]ff8ac0f2011-08-04 16:59:1160const char kChromeUINewProfile[] = "chrome://newprofile/";
[email protected]692c5342011-05-25 19:16:2161const char kChromeUINewTabURL[] = "chrome://newtab/";
[email protected]1cd5f75f2010-06-23 22:36:4362const char kChromeUIPluginsURL[] = "chrome://plugins/";
[email protected]a81712032011-08-31 16:10:0463const char kChromeUIPolicyURL[] = "chrome://policy/";
[email protected]1cd5f75f2010-06-23 22:36:4364const char kChromeUIPrintURL[] = "chrome://print/";
[email protected]e16f0c02011-06-08 18:13:3465const char kChromeUISessionsURL[] = "chrome://sessions/";
[email protected]e50eeee2010-09-22 00:33:3066const char kChromeUISettingsURL[] = "chrome://settings/";
[email protected]89f550b2011-06-08 18:34:0367const char kChromeUIShorthangURL[] = "chrome://shorthang/";
[email protected]077928592011-09-29 18:56:4168const char kChromeUISyncPromoURL[] = "chrome://syncpromo/";
[email protected]37ae3f22011-07-12 03:56:1469const char kChromeUITaskManagerURL[] = "chrome://tasks/";
70const char kChromeUITermsURL[] = "chrome://terms/";
[email protected]89f550b2011-06-08 18:34:0371const char kChromeUIVersionURL[] = "chrome://version/";
[email protected]62794f462011-07-19 05:50:1672const char kChromeUIWorkersURL[] = "chrome://workers/";
[email protected]9d3f7d5e2010-09-25 06:17:0473
74#if defined(OS_CHROMEOS)
[email protected]ddd42842011-02-03 00:00:2275const char kChromeUIActivationMessage[] = "chrome://activationmessage/";
[email protected]ecba514d2011-04-17 03:47:4676const char kChromeUIActiveDownloadsURL[] = "chrome://active-downloads/";
[email protected]8d250bb2011-04-14 14:21:2277const char kChromeUIChooseMobileNetworkURL[] =
78 "chrome://choose-mobile-network/";
[email protected]b228ecf12011-09-08 17:06:5979const char kChromeUIDiscardsURL[] = "chrome://discards/";
[email protected]62794f462011-07-19 05:50:1680const char kChromeUIEnterpriseEnrollmentURL[] =
81 "chrome://enterprise-enrollment/";
[email protected]9d3f7d5e2010-09-25 06:17:0482const char kChromeUIImageBurnerURL[] = "chrome://imageburner/";
[email protected]d1d150f2010-11-04 05:41:3983const char kChromeUIKeyboardOverlayURL[] = "chrome://keyboardoverlay/";
[email protected]d411c01d2011-10-18 16:00:2784const char kChromeUILockScreenURL[] = "chrome://lock/";
[email protected]9d3f7d5e2010-09-25 06:17:0485const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/";
86const char kChromeUIMobileSetupURL[] = "chrome://mobilesetup/";
[email protected]4de82522011-09-08 19:37:5987const char kChromeUIOobeURL[] = "chrome://oobe/";
[email protected]ba3b4762011-10-20 20:07:4388const char kChromeUIOSCreditsURL[] = "chrome://os-credits/";
[email protected]942af4a02011-03-22 02:27:5689const char kChromeUIProxySettingsURL[] = "chrome://proxy-settings/";
[email protected]9d3f7d5e2010-09-25 06:17:0490const char kChromeUIRegisterPageURL[] = "chrome://register/";
[email protected]9b78cfd2011-03-23 11:15:3691const char kChromeUISimUnlockURL[] = "chrome://sim-unlock/";
[email protected]4de82522011-09-08 19:37:5992const char kChromeUISlideshowURL[] = "chrome://slideshow/";
[email protected]9c0a58002010-09-17 23:18:5593const char kChromeUISystemInfoURL[] = "chrome://system/";
[email protected]1f4d7b262011-08-26 09:05:1894const char kChromeUITermsOemURL[] = "chrome://terms/oem";
[email protected]5ef189ef2011-02-22 14:42:1395const char kChromeUIUserImageURL[] = "chrome://userimage/";
[email protected]9d3f7d5e2010-09-25 06:17:0496#endif
[email protected]0ed164e2009-03-05 20:17:0097
[email protected]45c52c9d2011-07-19 12:08:1498#if defined(FILE_MANAGER_EXTENSION)
99const char kChromeUIFileManagerURL[] = "chrome://files/";
100#endif
101
[email protected]c4f188e2011-10-14 03:12:52102#if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
[email protected]bb99a6e2011-09-28 01:29:50103const char kChromeUICollectedCookiesURL[] = "chrome://collected-cookies/";
104const char kChromeUIHttpAuthURL[] = "chrome://http-auth/";
105const char kChromeUIRepostFormWarningURL[] = "chrome://repost-form-warning/";
106#endif
107
[email protected]62794f462011-07-19 05:50:16108// Add Chrome UI hosts here, in alphabetical order.
109// Add hosts to kChromePaths in browser_about_handler.cc to be listed by
110// chrome://chrome-urls (about:about) and the built-in AutocompleteProvider.
[email protected]89f550b2011-06-08 18:34:03111const char kChromeUIAboutHost[] = "about";
112const char kChromeUIAppCacheInternalsHost[] = "appcache-internals";
113const char kChromeUIBlankHost[] = "blank";
114const char kChromeUIBlobInternalsHost[] = "blob-internals";
[email protected]6404197b2010-03-03 00:40:40115const char kChromeUIBookmarksHost[] = "bookmarks";
[email protected]89f550b2011-06-08 18:34:03116const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz";
[email protected]ac1894a2010-08-22 10:38:54117const char kChromeUIBugReportHost[] = "bugreport";
[email protected]89f550b2011-06-08 18:34:03118const char kChromeUICacheHost[] = "cache";
[email protected]8ebc9b42011-07-14 15:22:18119const char kChromeUICertificateViewerHost[] = "view-cert";
[email protected]89f550b2011-06-08 18:34:03120const char kChromeUIChromeURLsHost[] = "chrome-urls";
121const char kChromeUICloudPrintResourcesHost[] = "cloudprintresources";
122const char kChromeUICloudPrintSetupHost[] = "cloudprintsetup";
[email protected]c1bbaa82010-11-08 11:17:05123const char kChromeUIConflictsHost[] = "conflicts";
[email protected]89f550b2011-06-08 18:34:03124const char kChromeUIConstrainedHTMLTestHost[] = "constrained-test";
[email protected]c8717adf72011-02-18 21:07:16125const char kChromeUICrashesHost[] = "crashes";
[email protected]ba3b4762011-10-20 20:07:43126const char kChromeUICrashHost[] = "crash";
[email protected]89f550b2011-06-08 18:34:03127const char kChromeUICreditsHost[] = "credits";
128const char kChromeUIDefaultHost[] = "version";
[email protected]b689fce72009-03-17 22:45:34129const char kChromeUIDevToolsHost[] = "devtools";
[email protected]4acc19a62009-04-03 03:05:11130const char kChromeUIDialogHost[] = "dialog";
[email protected]89f550b2011-06-08 18:34:03131const char kChromeUIDNSHost[] = "dns";
[email protected]b689fce72009-03-17 22:45:34132const char kChromeUIDownloadsHost[] = "downloads";
[email protected]02b075972011-10-19 18:39:00133const char kChromeUIEditSearchEngineDialogHost[] = "editsearchengine";
[email protected]f83773f2011-03-02 19:15:21134const char kChromeUIExtensionIconHost[] = "extension-icon";
[email protected]b689fce72009-03-17 22:45:34135const char kChromeUIExtensionsHost[] = "extensions";
[email protected]16835e62011-03-16 14:13:08136const char kChromeUIFaviconHost[] = "favicon";
[email protected]9486c1f2010-10-14 19:52:12137const char kChromeUIFlagsHost[] = "flags";
[email protected]fca58f02011-05-27 19:45:39138const char kChromeUIFlashHost[] = "flash";
[email protected]89f550b2011-06-08 18:34:03139const char kChromeUIGpuCleanHost[] = "gpuclean";
140const char kChromeUIGpuCrashHost[] = "gpucrash";
141const char kChromeUIGpuHangHost[] = "gpuhang";
[email protected]ba3b4762011-10-20 20:07:43142const char kChromeUIGpuHost[] = "gpu";
[email protected]9a128b02010-12-15 00:52:00143const char kChromeUIGpuInternalsHost[] = "gpu-internals";
[email protected]89f550b2011-06-08 18:34:03144const char kChromeUIHangHost[] = "hang";
[email protected]ba3b4762011-10-20 20:07:43145const char kChromeUIHistogramsHost[] = "histograms";
[email protected]13ed8da2011-06-07 19:01:45146const char kChromeUIHistory2Host[] = "history2";
[email protected]89f550b2011-06-08 18:34:03147const char kChromeUIHistoryHost[] = "history";
[email protected]1b0b20f2011-08-22 21:51:29148const char kChromeUIHungRendererDialogHost[] = "hung-renderer";
[email protected]89f550b2011-06-08 18:34:03149const char kChromeUIIPCHost[] = "ipc";
[email protected]9c88d4752010-09-16 20:59:42150const char kChromeUIKeyboardHost[] = "keyboard";
[email protected]89f550b2011-06-08 18:34:03151const char kChromeUIKillHost[] = "kill";
[email protected]d582d132011-06-21 00:25:49152const char kChromeUIMediaInternalsHost[] = "media-internals";
[email protected]89f550b2011-06-08 18:34:03153const char kChromeUIMemoryHost[] = "memory";
154const char kChromeUIMemoryRedirectHost[] = "memory-redirect";
[email protected]6e76d8d2010-05-10 23:13:56155const char kChromeUINetInternalsHost[] = "net-internals";
[email protected]89f550b2011-06-08 18:34:03156const char kChromeUINetworkViewCacheHost[] = "view-http-cache";
[email protected]b689fce72009-03-17 22:45:34157const char kChromeUINewTabHost[] = "newtab";
[email protected]1cd5f75f2010-06-23 22:36:43158const char kChromeUIPluginsHost[] = "plugins";
[email protected]a81712032011-08-31 16:10:04159const char kChromeUIPolicyHost[] = "policy";
[email protected]1cd5f75f2010-06-23 22:36:43160const char kChromeUIPrintHost[] = "print";
[email protected]bc3f2a782011-06-27 19:49:31161const char kChromeUIQuotaInternalsHost[] = "quota-internals";
[email protected]1cd5f75f2010-06-23 22:36:43162const char kChromeUIResourcesHost[] = "resources";
[email protected]e16f0c02011-06-08 18:13:34163const char kChromeUISessionsHost[] = "sessions";
[email protected]e50eeee2010-09-22 00:33:30164const char kChromeUISettingsHost[] = "settings";
[email protected]89f550b2011-06-08 18:34:03165const char kChromeUIShorthangHost[] = "shorthang";
[email protected]89f550b2011-06-08 18:34:03166const char kChromeUIStatsHost[] = "stats";
167const char kChromeUISyncHost[] = "sync";
[email protected]e0e4d722011-01-14 12:16:06168const char kChromeUISyncInternalsHost[] = "sync-internals";
[email protected]ba3b4762011-10-20 20:07:43169const char kChromeUISyncPromoHost[] = "syncpromo";
[email protected]64268ce2010-07-15 17:53:05170const char kChromeUISyncResourcesHost[] = "syncresources";
[email protected]37ae3f22011-07-12 03:56:14171const char kChromeUITaskManagerHost[] = "tasks";
[email protected]89f550b2011-06-08 18:34:03172const char kChromeUITCMallocHost[] = "tcmalloc";
[email protected]89f550b2011-06-08 18:34:03173const char kChromeUITermsHost[] = "terms";
174const char kChromeUITouchIconHost[] = "touch-icon";
[email protected]53dcc5c2011-08-09 15:40:31175const char kChromeUITracingHost[] = "tracing";
[email protected]ca1863672011-10-07 18:26:02176const char kChromeUITrackingHost[] = "tracking";
[email protected]46637712011-10-20 21:55:29177const char kChromeUITrackingHost2[] = "tracking2";
[email protected]89f550b2011-06-08 18:34:03178const char kChromeUIVersionHost[] = "version";
[email protected]fd1ef0a02011-07-04 10:23:42179const char kChromeUIWorkersHost[] = "workers";
[email protected]89f550b2011-06-08 18:34:03180
181const char kChromeUIScreenshotPath[] = "screenshots";
[email protected]4a190632009-05-09 01:07:42182const char kChromeUIThemePath[] = "theme";
[email protected]1cd5f75f2010-06-23 22:36:43183const char kChromeUIThumbnailPath[] = "thumb";
[email protected]6aad4bd2009-02-26 22:55:17184
[email protected]89f550b2011-06-08 18:34:03185#if defined(OS_LINUX)
186const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config";
187const char kChromeUISandboxHost[] = "sandbox";
188#endif
189
[email protected]9d3f7d5e2010-09-25 06:17:04190#if defined(OS_CHROMEOS)
[email protected]13ed8da2011-06-07 19:01:45191const char kChromeUIActivationMessageHost[] = "activationmessage";
[email protected]89f550b2011-06-08 18:34:03192const char kChromeUIActiveDownloadsHost[] = "active-downloads";
[email protected]8d250bb2011-04-14 14:21:22193const char kChromeUIChooseMobileNetworkHost[] = "choose-mobile-network";
[email protected]ebdc66982011-06-15 21:22:36194const char kChromeUICryptohomeHost[] = "cryptohome";
[email protected]b228ecf12011-09-08 17:06:59195const char kChromeUIDiscardsHost[] = "discards";
[email protected]89f550b2011-06-08 18:34:03196const char kChromeUIEnterpriseEnrollmentHost[] = "enterprise-enrollment";
[email protected]9d3f7d5e2010-09-25 06:17:04197const char kChromeUIImageBurnerHost[] = "imageburner";
[email protected]d1d150f2010-11-04 05:41:39198const char kChromeUIKeyboardOverlayHost[] = "keyboardoverlay";
[email protected]d411c01d2011-10-18 16:00:27199const char kChromeUILockScreenHost[] = "lock";
[email protected]89f550b2011-06-08 18:34:03200const char kChromeUILoginContainerHost[] = "login-container";
201const char kChromeUILoginHost[] = "login";
[email protected]9d3f7d5e2010-09-25 06:17:04202const char kChromeUIMediaplayerHost[] = "mediaplayer";
203const char kChromeUIMobileSetupHost[] = "mobilesetup";
[email protected]89f550b2011-06-08 18:34:03204const char kChromeUINetworkHost[] = "network";
[email protected]4de82522011-09-08 19:37:59205const char kChromeUIOobeHost[] = "oobe";
[email protected]ba3b4762011-10-20 20:07:43206const char kChromeUIOSCreditsHost[] = "os-credits";
[email protected]942af4a02011-03-22 02:27:56207const char kChromeUIProxySettingsHost[] = "proxy-settings";
[email protected]9d3f7d5e2010-09-25 06:17:04208const char kChromeUIRegisterPageHost[] = "register";
[email protected]a8f21152011-09-08 15:30:02209const char kChromeUIRotateHost[] = "rotate";
[email protected]9b78cfd2011-03-23 11:15:36210const char kChromeUISimUnlockHost[] = "sim-unlock";
[email protected]ba3b4762011-10-20 20:07:43211const char kChromeUISlideshowHost[] = "slideshow";
[email protected]9d3f7d5e2010-09-25 06:17:04212const char kChromeUISystemInfoHost[] = "system";
[email protected]89f550b2011-06-08 18:34:03213const char kChromeUIUserImageHost[] = "userimage";
214
[email protected]6777a572010-10-08 18:07:17215const char kChromeUIMenu[] = "menu";
[email protected]89ccd242010-10-12 08:58:27216const char kChromeUINetworkMenu[] = "network-menu";
[email protected]ba3b4762011-10-20 20:07:43217const char kChromeUIWrenchMenu[] = "wrench-menu";
[email protected]89f550b2011-06-08 18:34:03218
219const char kEULAPathFormat[] = "/usr/share/chromeos-assets/eula/%s/eula.html";
[email protected]b19f53e2011-07-13 13:28:57220const char kOemEulaURLPath[] = "oem";
[email protected]af1c0802011-03-04 07:58:31221#endif
222
[email protected]45c52c9d2011-07-19 12:08:14223#if defined(FILE_MANAGER_EXTENSION)
224const char kChromeUIFileManagerHost[] = "files";
225#endif
226
[email protected]c4f188e2011-10-14 03:12:52227#if (defined(OS_LINUX) && defined(TOOLKIT_VIEWS)) || defined(USE_AURA)
[email protected]bb99a6e2011-09-28 01:29:50228const char kChromeUICollectedCookiesHost[] = "collected-cookies";
229const char kChromeUIHttpAuthHost[] = "http-auth";
230const char kChromeUIRepostFormWarningHost[] = "repost-form-warning";
231#endif
232
[email protected]024617a2010-08-20 05:08:05233// Option sub pages.
[email protected]62794f462011-07-19 05:50:16234// Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be
235// listed by the built-in AutocompleteProvider.
[email protected]692c5342011-05-25 19:16:21236const char kAdvancedOptionsSubPage[] = "advanced";
[email protected]663bd9e2011-03-21 01:07:01237const char kAutofillSubPage[] = "autofill";
[email protected]692c5342011-05-25 19:16:21238const char kBrowserOptionsSubPage[] = "browser";
[email protected]ebe11a5c2011-03-02 22:47:06239const char kClearBrowserDataSubPage[] = "clearBrowserData";
[email protected]f9607f22011-02-05 02:18:51240const char kContentSettingsExceptionsSubPage[] = "contentExceptions";
[email protected]ba3b4762011-10-20 20:07:43241const char kContentSettingsSubPage[] = "content";
[email protected]dd86ba302011-09-19 20:10:37242const char kExtensionsSubPage[] = "extensions";
[email protected]ba3b4762011-10-20 20:07:43243const char kHandlerSettingsSubPage[] = "handlers";
[email protected]ebe11a5c2011-03-02 22:47:06244const char kImportDataSubPage[] = "importData";
[email protected]b99081b2011-03-10 17:43:47245const char kInstantConfirmPage[] = "instantConfirm";
[email protected]78600f42011-03-15 20:53:24246const char kLanguageOptionsSubPage[] = "languages";
[email protected]7a262192011-10-05 19:46:41247const char kManageProfileSubPage[] = "manageProfile";
[email protected]692c5342011-05-25 19:16:21248const char kPasswordManagerSubPage[] = "passwords";
[email protected]ba3b4762011-10-20 20:07:43249const char kPersonalOptionsSubPage[] = "personal";
[email protected]1023c862010-10-21 00:29:10250const char kSearchEnginesSubPage[] = "searchEngines";
[email protected]a1595962011-04-22 21:56:24251const char kSyncSetupSubPage[] = "syncSetup";
[email protected]024617a2010-08-20 05:08:05252#if defined(OS_CHROMEOS)
[email protected]01c3857e2011-06-09 04:35:48253const char kAboutOptionsSubPage[] = "about";
[email protected]024617a2010-08-20 05:08:05254const char kInternetOptionsSubPage[] = "internet";
[email protected]1023c862010-10-21 00:29:10255const char kSystemOptionsSubPage[] = "system";
[email protected]024617a2010-08-20 05:08:05256#endif
257
[email protected]89f550b2011-06-08 18:34:03258const char kSyncGoogleDashboardURL[] = "https://www.google.com/dashboard/";
259
[email protected]6fbf02f2011-03-28 23:59:10260const char kPasswordManagerLearnMoreURL[] =
261#if defined(OS_CHROMEOS)
[email protected]463c3fc2011-04-05 23:35:11262 "https://www.google.com/support/chromeos/bin/answer.py?answer=95606";
[email protected]6fbf02f2011-03-28 23:59:10263#else
[email protected]463c3fc2011-04-05 23:35:11264 "https://www.google.com/support/chrome/bin/answer.py?answer=95606";
[email protected]6fbf02f2011-03-28 23:59:10265#endif
266
[email protected]0f4758f2010-11-19 18:17:50267const char kChromeHelpURL[] =
268#if defined(OS_CHROMEOS)
[email protected]463c3fc2011-04-05 23:35:11269 "https://www.google.com/support/chromeos/";
[email protected]0f4758f2010-11-19 18:17:50270#else
[email protected]463c3fc2011-04-05 23:35:11271 "https://www.google.com/support/chrome/";
[email protected]0f4758f2010-11-19 18:17:50272#endif
273
[email protected]ba3b4762011-10-20 20:07:43274const char kPageInfoHelpCenterURL[] =
[email protected]91a79232010-11-10 18:15:08275#if defined(OS_CHROMEOS)
[email protected]463c3fc2011-04-05 23:35:11276 "https://www.google.com/support/chromeos/bin/answer.py?answer=95617";
[email protected]91a79232010-11-10 18:15:08277#else
[email protected]463c3fc2011-04-05 23:35:11278 "https://www.google.com/support/chrome/bin/answer.py?answer=95617";
[email protected]91a79232010-11-10 18:15:08279#endif
280
281const char kCrashReasonURL[] =
282#if defined(OS_CHROMEOS)
[email protected]463c3fc2011-04-05 23:35:11283 "https://www.google.com/support/chromeos/bin/answer.py?answer=1047340";
[email protected]91a79232010-11-10 18:15:08284#else
[email protected]463c3fc2011-04-05 23:35:11285 "https://www.google.com/support/chrome/bin/answer.py?answer=95669";
[email protected]91a79232010-11-10 18:15:08286#endif
287
[email protected]a8f024392011-01-13 21:50:16288const char kKillReasonURL[] =
[email protected]2517bb72011-08-12 00:02:28289 "http://www.google.com/support/chrome/bin/answer.py?answer=1270364";
[email protected]a8f024392011-01-13 21:50:16290
[email protected]91a79232010-11-10 18:15:08291const char kPrivacyLearnMoreURL[] =
292#if defined(OS_CHROMEOS)
[email protected]463c3fc2011-04-05 23:35:11293 "https://www.google.com/support/chromeos/bin/answer.py?answer=1047334";
[email protected]91a79232010-11-10 18:15:08294#else
[email protected]463c3fc2011-04-05 23:35:11295 "https://www.google.com/support/chrome/bin/answer.py?answer=114836";
[email protected]91a79232010-11-10 18:15:08296#endif
297
[email protected]d39f70b2011-01-04 00:08:25298const char kChromiumProjectURL[] = "http://code.google.com/chromium/";
299
[email protected]c34f6442011-01-05 01:02:51300const char kLearnMoreReportingURL[] =
[email protected]463c3fc2011-04-05 23:35:11301 "https://www.google.com/support/chrome/bin/answer.py?answer=96817";
[email protected]864a09072011-02-09 13:59:01302
303const char kOutdatedPluginLearnMoreURL[] =
[email protected]ff268ff2011-04-05 19:50:20304 "https://www.google.com/support/chrome/bin/answer.py?answer=1181003";
305
306const char kBlockedPluginLearnMoreURL[] =
307 "https://www.google.com/support/chrome/bin/answer.py?answer=1247383";
[email protected]c34f6442011-01-05 01:02:51308
[email protected]508d1032011-07-26 05:08:34309const char kSpeechInputAboutURL[] =
[email protected]acda47632011-09-02 03:51:26310 "https://www.google.com/support/chrome/bin/answer.py?answer=1407892";
[email protected]508d1032011-07-26 05:08:34311
[email protected]076084a2011-07-18 08:04:59312const char kLearnMoreRegisterProtocolHandlerURL[] =
313 "http://www.google.com/support/chrome/bin/answer.py?answer=1382847";
314
[email protected]ddf52092011-10-05 01:35:49315const char kSyncLearnMoreURL[] =
316 "http://www.google.com/support/chrome/bin/answer.py?answer=165139";
317
[email protected]4a3835552011-07-22 03:09:19318#if defined(OS_CHROMEOS)
319const char kCloudPrintLearnMoreURL[] =
320 "https://www.google.com/support/chromeos/bin/topic.py?topic=29023";
321#endif
322
[email protected]3cf7c2982011-08-20 05:48:13323const char* const kChromeDebugURLs[] = {
324 kChromeUICrashURL,
325 kChromeUIKillURL,
326 kChromeUIHangURL,
327 kChromeUIShorthangURL,
328 kChromeUIGpuCleanURL,
329 kChromeUIGpuCrashURL,
330 kChromeUIGpuHangURL,
331};
332int kNumberOfChromeDebugURLs = static_cast<int>(arraysize(kChromeDebugURLs));
333
[email protected]2a80aee2011-10-07 16:06:03334const char kExtensionScheme[] = "chrome-extension";
335
[email protected]7fc13ed2010-03-06 05:06:20336void RegisterChromeSchemes() {
[email protected]7fc13ed2010-03-06 05:06:20337 url_util::AddStandardScheme(kExtensionScheme);
[email protected]49699e8f2010-05-28 15:30:20338#if defined(OS_CHROMEOS)
339 url_util::AddStandardScheme(kCrosScheme);
340#endif
[email protected]3fea6c52010-04-14 15:34:54341
[email protected]2a80aee2011-10-07 16:06:03342 // This call will also lock the list of standard schemes.
343 RegisterContentSchemes(kSavableSchemes);
[email protected]7fc13ed2010-03-06 05:06:20344}
345
[email protected]6aad4bd2009-02-26 22:55:17346} // namespace chrome