Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "content/public/common/url_constants.h" | 6 #include "content/public/common/url_constants.h" |
| 7 | 7 |
| 8 namespace content { | 8 namespace content { |
| 9 | 9 |
| 10 // Before adding new chrome schemes please check with security@chromium.org. | 10 // Before adding new chrome schemes please check with security@chromium.org. |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 34 const char kChromeUINetworkErrorsListingHost[] = "network-errors"; | 34 const char kChromeUINetworkErrorsListingHost[] = "network-errors"; |
| 35 const char kChromeUIResourcesHost[] = "resources"; | 35 const char kChromeUIResourcesHost[] = "resources"; |
| 36 const char kChromeUIServiceWorkerInternalsHost[] = "serviceworker-internals"; | 36 const char kChromeUIServiceWorkerInternalsHost[] = "serviceworker-internals"; |
| 37 const char kChromeUITracingHost[] = "tracing"; | 37 const char kChromeUITracingHost[] = "tracing"; |
| 38 const char kChromeUIWebRTCInternalsHost[] = "webrtc-internals"; | 38 const char kChromeUIWebRTCInternalsHost[] = "webrtc-internals"; |
| 39 | 39 |
| 40 const char kChromeUIBadCastCrashURL[] = "chrome://badcastcrash"; | 40 const char kChromeUIBadCastCrashURL[] = "chrome://badcastcrash"; |
| 41 const char kChromeUIBrowserCrashURL[] = "chrome://inducebrowsercrashforrealz"; | 41 const char kChromeUIBrowserCrashURL[] = "chrome://inducebrowsercrashforrealz"; |
| 42 const char kChromeUIBrowserUIHang[] = "chrome://uithreadhang"; | 42 const char kChromeUIBrowserUIHang[] = "chrome://uithreadhang"; |
| 43 const char kChromeUICrashURL[] = "chrome://crash"; | 43 const char kChromeUICrashURL[] = "chrome://crash"; |
| 44 const char kChromeUIDelayedBrowserUIHang[] = "chrome://delayeduithreadhang"; | |
|
jam
2016/01/26 23:08:35
this is just for a test in the chrome layer, and i
Patrick Monette
2016/01/27 17:52:03
Do you have a suggestion for it?
I am not finding
jam
2016/01/27 23:26:19
oh, you're right, it's not easy doing that now. ok
| |
| 44 const char kChromeUIDumpURL[] = "chrome://crashdump"; | 45 const char kChromeUIDumpURL[] = "chrome://crashdump"; |
| 45 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; | 46 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; |
| 46 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; | 47 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; |
| 47 const char kChromeUIGpuHangURL[] = "chrome://gpuhang"; | 48 const char kChromeUIGpuHangURL[] = "chrome://gpuhang"; |
| 48 const char kChromeUIHangURL[] = "chrome://hang"; | 49 const char kChromeUIHangURL[] = "chrome://hang"; |
| 49 const char kChromeUIKillURL[] = "chrome://kill"; | 50 const char kChromeUIKillURL[] = "chrome://kill"; |
| 50 const char kChromeUINetworkErrorURL[] = "chrome://network-error"; | 51 const char kChromeUINetworkErrorURL[] = "chrome://network-error"; |
| 51 const char kChromeUINetworkErrorsListingURL[] = "chrome://network-errors"; | 52 const char kChromeUINetworkErrorsListingURL[] = "chrome://network-errors"; |
| 52 const char kChromeUIPpapiFlashCrashURL[] = "chrome://ppapiflashcrash"; | 53 const char kChromeUIPpapiFlashCrashURL[] = "chrome://ppapiflashcrash"; |
| 53 const char kChromeUIPpapiFlashHangURL[] = "chrome://ppapiflashhang"; | 54 const char kChromeUIPpapiFlashHangURL[] = "chrome://ppapiflashhang"; |
| 54 const char kChromeUIServiceWorkerInternalsURL[] = | 55 const char kChromeUIServiceWorkerInternalsURL[] = |
| 55 "chrome://serviceworker-internals"; | 56 "chrome://serviceworker-internals"; |
| 56 | 57 |
| 57 // This error URL is loaded in normal web renderer processes, so it should not | 58 // This error URL is loaded in normal web renderer processes, so it should not |
| 58 // have a chrome:// scheme that might let it be confused with a WebUI page. | 59 // have a chrome:// scheme that might let it be confused with a WebUI page. |
| 59 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; | 60 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; |
| 60 | 61 |
| 61 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; | 62 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; |
| 62 const char kChromeUIResourcesURL[] = "chrome://resources/"; | 63 const char kChromeUIResourcesURL[] = "chrome://resources/"; |
| 63 const char kChromeUIShorthangURL[] = "chrome://shorthang"; | 64 const char kChromeUIShorthangURL[] = "chrome://shorthang"; |
| 64 | 65 |
| 65 // This URL is loaded when a page is swapped out and replaced by a page in a | 66 // This URL is loaded when a page is swapped out and replaced by a page in a |
| 66 // different renderer process. It must have a unique origin that cannot be | 67 // different renderer process. It must have a unique origin that cannot be |
| 67 // scripted by other pages in the process. | 68 // scripted by other pages in the process. |
| 68 const char kSwappedOutURL[] = "swappedout://"; | 69 const char kSwappedOutURL[] = "swappedout://"; |
| 69 | 70 |
| 70 } // namespace content | 71 } // namespace content |
| OLD | NEW |