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 chrome { | 7 namespace chrome { |
8 | 8 |
9 const char kAboutScheme[] = "about"; | 9 const char kAboutScheme[] = "about"; |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals"; | 37 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals"; |
38 const char kChromeUIIndexedDBInternalsHost[] = "indexeddb-internals"; | 38 const char kChromeUIIndexedDBInternalsHost[] = "indexeddb-internals"; |
39 const char kChromeUIAccessibilityHost[] = "accessibility"; | 39 const char kChromeUIAccessibilityHost[] = "accessibility"; |
40 const char kChromeUIBlobInternalsHost[] = "blob-internals"; | 40 const char kChromeUIBlobInternalsHost[] = "blob-internals"; |
41 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz"; | 41 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz"; |
42 const char kChromeUIGpuHost[] = "gpu"; | 42 const char kChromeUIGpuHost[] = "gpu"; |
43 const char kChromeUIHistogramHost[] = "histograms"; | 43 const char kChromeUIHistogramHost[] = "histograms"; |
44 const char kChromeUIMediaInternalsHost[] = "media-internals"; | 44 const char kChromeUIMediaInternalsHost[] = "media-internals"; |
45 const char kChromeUINetworkViewCacheHost[] = "view-http-cache"; | 45 const char kChromeUINetworkViewCacheHost[] = "view-http-cache"; |
46 const char kChromeUIResourcesHost[] = "resources"; | 46 const char kChromeUIResourcesHost[] = "resources"; |
| 47 const char kChromeUIServiceWorkerInternalsHost[] = "serviceworker-internals"; |
47 const char kChromeUITcmallocHost[] = "tcmalloc"; | 48 const char kChromeUITcmallocHost[] = "tcmalloc"; |
48 const char kChromeUITracingHost[] = "tracing"; | 49 const char kChromeUITracingHost[] = "tracing"; |
49 const char kChromeUIWebRTCInternalsHost[] = "webrtc-internals"; | 50 const char kChromeUIWebRTCInternalsHost[] = "webrtc-internals"; |
50 | 51 |
51 const char kChromeUICrashURL[] = "chrome://crash"; | 52 const char kChromeUICrashURL[] = "chrome://crash"; |
52 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; | 53 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; |
53 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; | 54 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; |
54 const char kChromeUIGpuHangURL[] = "chrome://gpuhang"; | 55 const char kChromeUIGpuHangURL[] = "chrome://gpuhang"; |
55 const char kChromeUIHangURL[] = "chrome://hang"; | 56 const char kChromeUIHangURL[] = "chrome://hang"; |
56 const char kChromeUIKillURL[] = "chrome://kill"; | 57 const char kChromeUIKillURL[] = "chrome://kill"; |
57 const char kChromeUIPpapiFlashCrashURL[] = "chrome://ppapiflashcrash"; | 58 const char kChromeUIPpapiFlashCrashURL[] = "chrome://ppapiflashcrash"; |
58 const char kChromeUIPpapiFlashHangURL[] = "chrome://ppapiflashhang"; | 59 const char kChromeUIPpapiFlashHangURL[] = "chrome://ppapiflashhang"; |
59 | 60 |
60 const char kStandardSchemeSeparator[] = "://"; | 61 const char kStandardSchemeSeparator[] = "://"; |
61 | 62 |
62 // This error URL is loaded in normal web renderer processes, so it should not | 63 // This error URL is loaded in normal web renderer processes, so it should not |
63 // have a chrome:// scheme that might let it be confused with a WebUI page. | 64 // have a chrome:// scheme that might let it be confused with a WebUI page. |
64 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; | 65 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; |
65 | 66 |
66 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; | 67 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; |
67 const char kChromeUIShorthangURL[] = "chrome://shorthang"; | 68 const char kChromeUIShorthangURL[] = "chrome://shorthang"; |
68 | 69 |
69 // This URL is loaded when a page is swapped out and replaced by a page in a | 70 // This URL is loaded when a page is swapped out and replaced by a page in a |
70 // different renderer process. It must have a unique origin that cannot be | 71 // different renderer process. It must have a unique origin that cannot be |
71 // scripted by other pages in the process. | 72 // scripted by other pages in the process. |
72 const char kSwappedOutURL[] = "swappedout://"; | 73 const char kSwappedOutURL[] = "swappedout://"; |
73 | 74 |
74 } // namespace content | 75 } // namespace content |
OLD | NEW |