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 "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 const char kAboutScheme[] = "about"; | 9 const char kAboutScheme[] = "about"; |
10 const char kBlobScheme[] = "blob"; | 10 const char kBlobScheme[] = "blob"; |
(...skipping 21 matching lines...) Expand all Loading... |
32 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals"; | 32 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals"; |
33 const char kChromeUIIndexedDBInternalsHost[] = "indexeddb-internals"; | 33 const char kChromeUIIndexedDBInternalsHost[] = "indexeddb-internals"; |
34 const char kChromeUIAccessibilityHost[] = "accessibility"; | 34 const char kChromeUIAccessibilityHost[] = "accessibility"; |
35 const char kChromeUIBlobInternalsHost[] = "blob-internals"; | 35 const char kChromeUIBlobInternalsHost[] = "blob-internals"; |
36 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz"; | 36 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz"; |
37 const char kChromeUIGpuHost[] = "gpu"; | 37 const char kChromeUIGpuHost[] = "gpu"; |
38 const char kChromeUIHistogramHost[] = "histograms"; | 38 const char kChromeUIHistogramHost[] = "histograms"; |
39 const char kChromeUIMediaInternalsHost[] = "media-internals"; | 39 const char kChromeUIMediaInternalsHost[] = "media-internals"; |
40 const char kChromeUINetworkViewCacheHost[] = "view-http-cache"; | 40 const char kChromeUINetworkViewCacheHost[] = "view-http-cache"; |
41 const char kChromeUIResourcesHost[] = "resources"; | 41 const char kChromeUIResourcesHost[] = "resources"; |
| 42 const char kChromeUIServiceWorkerInternalsHost[] = "serviceworker-internals"; |
42 const char kChromeUITcmallocHost[] = "tcmalloc"; | 43 const char kChromeUITcmallocHost[] = "tcmalloc"; |
43 const char kChromeUITracingHost[] = "tracing"; | 44 const char kChromeUITracingHost[] = "tracing"; |
44 const char kChromeUIWebRTCInternalsHost[] = "webrtc-internals"; | 45 const char kChromeUIWebRTCInternalsHost[] = "webrtc-internals"; |
45 | 46 |
46 const char kChromeUICrashURL[] = "chrome://crash"; | 47 const char kChromeUICrashURL[] = "chrome://crash"; |
47 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; | 48 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; |
48 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; | 49 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; |
49 const char kChromeUIGpuHangURL[] = "chrome://gpuhang"; | 50 const char kChromeUIGpuHangURL[] = "chrome://gpuhang"; |
50 const char kChromeUIHangURL[] = "chrome://hang"; | 51 const char kChromeUIHangURL[] = "chrome://hang"; |
51 const char kChromeUIKillURL[] = "chrome://kill"; | 52 const char kChromeUIKillURL[] = "chrome://kill"; |
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 | 55 |
55 const char kStandardSchemeSeparator[] = "://"; | 56 const char kStandardSchemeSeparator[] = "://"; |
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 kChromeUIShorthangURL[] = "chrome://shorthang"; | 63 const char kChromeUIShorthangURL[] = "chrome://shorthang"; |
63 | 64 |
64 // This URL is loaded when a page is swapped out and replaced by a page in a | 65 // This URL is loaded when a page is swapped out and replaced by a page in a |
65 // different renderer process. It must have a unique origin that cannot be | 66 // different renderer process. It must have a unique origin that cannot be |
66 // scripted by other pages in the process. | 67 // scripted by other pages in the process. |
67 const char kSwappedOutURL[] = "swappedout://"; | 68 const char kSwappedOutURL[] = "swappedout://"; |
68 | 69 |
69 } // namespace content | 70 } // namespace content |
OLD | NEW |