Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: content/public/common/url_constants.cc

Issue 1266893002: CFI: Add a new debug URL, chrome://badcast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/common/url_constants.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/url_constants.h" 5 #include "content/public/common/url_constants.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 // Before adding new chrome schemes please check with security@chromium.org. 9 // Before adding new chrome schemes please check with security@chromium.org.
10 // There are security implications associated with introducing new schemes. 10 // There are security implications associated with introducing new schemes.
(...skipping 17 matching lines...) Expand all
28 const char kChromeUIGpuHost[] = "gpu"; 28 const char kChromeUIGpuHost[] = "gpu";
29 const char kChromeUIHistogramHost[] = "histograms"; 29 const char kChromeUIHistogramHost[] = "histograms";
30 const char kChromeUIMediaInternalsHost[] = "media-internals"; 30 const char kChromeUIMediaInternalsHost[] = "media-internals";
31 const char kChromeUINetworkViewCacheHost[] = "view-http-cache"; 31 const char kChromeUINetworkViewCacheHost[] = "view-http-cache";
32 const char kChromeUIResourcesHost[] = "resources"; 32 const char kChromeUIResourcesHost[] = "resources";
33 const char kChromeUIServiceWorkerInternalsHost[] = "serviceworker-internals"; 33 const char kChromeUIServiceWorkerInternalsHost[] = "serviceworker-internals";
34 const char kChromeUITcmallocHost[] = "tcmalloc"; 34 const char kChromeUITcmallocHost[] = "tcmalloc";
35 const char kChromeUITracingHost[] = "tracing"; 35 const char kChromeUITracingHost[] = "tracing";
36 const char kChromeUIWebRTCInternalsHost[] = "webrtc-internals"; 36 const char kChromeUIWebRTCInternalsHost[] = "webrtc-internals";
37 37
38 const char kChromeUIBadCastCrashURL[] = "chrome://badcastcrash";
38 const char kChromeUIBrowserCrashURL[] = "chrome://inducebrowsercrashforrealz"; 39 const char kChromeUIBrowserCrashURL[] = "chrome://inducebrowsercrashforrealz";
39 const char kChromeUIBrowserUIHang[] = "chrome://uithreadhang"; 40 const char kChromeUIBrowserUIHang[] = "chrome://uithreadhang";
40 const char kChromeUICrashURL[] = "chrome://crash"; 41 const char kChromeUICrashURL[] = "chrome://crash";
41 const char kChromeUIDumpURL[] = "chrome://crashdump"; 42 const char kChromeUIDumpURL[] = "chrome://crashdump";
42 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; 43 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean";
43 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; 44 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash";
44 const char kChromeUIGpuHangURL[] = "chrome://gpuhang"; 45 const char kChromeUIGpuHangURL[] = "chrome://gpuhang";
45 const char kChromeUIHangURL[] = "chrome://hang"; 46 const char kChromeUIHangURL[] = "chrome://hang";
46 const char kChromeUIKillURL[] = "chrome://kill"; 47 const char kChromeUIKillURL[] = "chrome://kill";
47 const char kChromeUIPpapiFlashCrashURL[] = "chrome://ppapiflashcrash"; 48 const char kChromeUIPpapiFlashCrashURL[] = "chrome://ppapiflashcrash";
48 const char kChromeUIPpapiFlashHangURL[] = "chrome://ppapiflashhang"; 49 const char kChromeUIPpapiFlashHangURL[] = "chrome://ppapiflashhang";
49 const char kChromeUIServiceWorkerInternalsURL[] = 50 const char kChromeUIServiceWorkerInternalsURL[] =
50 "chrome://serviceworker-internals"; 51 "chrome://serviceworker-internals";
51 52
52 // This error URL is loaded in normal web renderer processes, so it should not 53 // This error URL is loaded in normal web renderer processes, so it should not
53 // have a chrome:// scheme that might let it be confused with a WebUI page. 54 // have a chrome:// scheme that might let it be confused with a WebUI page.
54 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; 55 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata";
55 56
56 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; 57 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/";
57 const char kChromeUIShorthangURL[] = "chrome://shorthang"; 58 const char kChromeUIShorthangURL[] = "chrome://shorthang";
58 59
59 // This URL is loaded when a page is swapped out and replaced by a page in a 60 // This URL is loaded when a page is swapped out and replaced by a page in a
60 // different renderer process. It must have a unique origin that cannot be 61 // different renderer process. It must have a unique origin that cannot be
61 // scripted by other pages in the process. 62 // scripted by other pages in the process.
62 const char kSwappedOutURL[] = "swappedout://"; 63 const char kSwappedOutURL[] = "swappedout://";
63 64
64 } // namespace content 65 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/url_constants.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698