Add ICU message format support
[chromium-blink-merge.git] / content / public / common / url_constants.cc
blob475b6dbfe7b91738627872668da15b06ce749304
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 #include "content/public/common/url_constants.h"
7 namespace content {
9 // Before adding new chrome schemes please check with security@chromium.org.
10 // There are security implications associated with introducing new schemes.
11 const char kChromeDevToolsScheme[] = "chrome-devtools";
12 const char kChromeUIScheme[] = "chrome";
13 const char kGuestScheme[] = "chrome-guest";
14 const char kMetadataScheme[] = "metadata";
15 const char kSwappedOutScheme[] = "swappedout";
16 const char kViewSourceScheme[] = "view-source";
17 #if defined(OS_CHROMEOS)
18 const char kExternalFileScheme[] = "externalfile";
19 #endif
21 const char kAboutSrcDocURL[] = "about:srcdoc";
23 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals";
24 const char kChromeUIIndexedDBInternalsHost[] = "indexeddb-internals";
25 const char kChromeUIAccessibilityHost[] = "accessibility";
26 const char kChromeUIBlobInternalsHost[] = "blob-internals";
27 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz";
28 const char kChromeUIGpuHost[] = "gpu";
29 const char kChromeUIHistogramHost[] = "histograms";
30 const char kChromeUIMediaInternalsHost[] = "media-internals";
31 const char kChromeUINetworkViewCacheHost[] = "view-http-cache";
32 const char kChromeUIResourcesHost[] = "resources";
33 const char kChromeUIServiceWorkerInternalsHost[] = "serviceworker-internals";
34 const char kChromeUITcmallocHost[] = "tcmalloc";
35 const char kChromeUITracingHost[] = "tracing";
36 const char kChromeUIWebRTCInternalsHost[] = "webrtc-internals";
38 const char kChromeUIBadCastCrashURL[] = "chrome://badcastcrash";
39 const char kChromeUIBrowserCrashURL[] = "chrome://inducebrowsercrashforrealz";
40 const char kChromeUIBrowserUIHang[] = "chrome://uithreadhang";
41 const char kChromeUICrashURL[] = "chrome://crash";
42 const char kChromeUIDumpURL[] = "chrome://crashdump";
43 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean";
44 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash";
45 const char kChromeUIGpuHangURL[] = "chrome://gpuhang";
46 const char kChromeUIHangURL[] = "chrome://hang";
47 const char kChromeUIKillURL[] = "chrome://kill";
48 const char kChromeUIPpapiFlashCrashURL[] = "chrome://ppapiflashcrash";
49 const char kChromeUIPpapiFlashHangURL[] = "chrome://ppapiflashhang";
50 const char kChromeUIServiceWorkerInternalsURL[] =
51 "chrome://serviceworker-internals";
53 // This error URL is loaded in normal web renderer processes, so it should not
54 // have a chrome:// scheme that might let it be confused with a WebUI page.
55 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata";
57 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/";
58 const char kChromeUIShorthangURL[] = "chrome://shorthang";
60 // This URL is loaded when a page is swapped out and replaced by a page in a
61 // different renderer process. It must have a unique origin that cannot be
62 // scripted by other pages in the process.
63 const char kSwappedOutURL[] = "swappedout://";
65 } // namespace content