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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean/"; | 48 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean/"; |
49 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash/"; | 49 const char kChromeUIGpuCrashURL[] = "chrome://gpucrash/"; |
50 const char kChromeUIGpuHangURL[] = "chrome://gpuhang/"; | 50 const char kChromeUIGpuHangURL[] = "chrome://gpuhang/"; |
51 const char kChromeUIHangURL[] = "chrome://hang/"; | 51 const char kChromeUIHangURL[] = "chrome://hang/"; |
52 const char kChromeUIKillURL[] = "chrome://kill/"; | 52 const char kChromeUIKillURL[] = "chrome://kill/"; |
53 const char kChromeUIMemoryExhaustURL[] = "chrome://memory-exhaust/"; | 53 const char kChromeUIMemoryExhaustURL[] = "chrome://memory-exhaust/"; |
54 const char kChromeUINetworkErrorURL[] = "chrome://network-error/"; | 54 const char kChromeUINetworkErrorURL[] = "chrome://network-error/"; |
55 const char kChromeUINetworkErrorsListingURL[] = "chrome://network-errors/"; | 55 const char kChromeUINetworkErrorsListingURL[] = "chrome://network-errors/"; |
56 const char kChromeUIPpapiFlashCrashURL[] = "chrome://ppapiflashcrash/"; | 56 const char kChromeUIPpapiFlashCrashURL[] = "chrome://ppapiflashcrash/"; |
57 const char kChromeUIPpapiFlashHangURL[] = "chrome://ppapiflashhang/"; | 57 const char kChromeUIPpapiFlashHangURL[] = "chrome://ppapiflashhang/"; |
| 58 #if defined(OS_ANDROID) |
| 59 const char kChromeUIGpuJavaCrashURL[] = "chrome://gpu-java-crash/"; |
| 60 #endif |
58 | 61 |
59 // This error URL is loaded in normal web renderer processes, so it should not | 62 // This error URL is loaded in normal web renderer processes, so it should not |
60 // have a chrome:// scheme that might let it be confused with a WebUI page. | 63 // have a chrome:// scheme that might let it be confused with a WebUI page. |
61 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; | 64 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; |
62 | 65 |
63 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; | 66 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; |
64 const char kChromeUIResourcesURL[] = "chrome://resources/"; | 67 const char kChromeUIResourcesURL[] = "chrome://resources/"; |
65 const char kChromeUIShorthangURL[] = "chrome://shorthang/"; | 68 const char kChromeUIShorthangURL[] = "chrome://shorthang/"; |
66 | 69 |
67 } // namespace content | 70 } // namespace content |
OLD | NEW |