Index: chrome/common/url_constants.cc |
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc |
index 2c129b1ba2affeba1330dae0871e06bc9da29531..d3825021a61f5098e7a3d70155186b37e3a2e4a9 100644 |
--- a/chrome/common/url_constants.cc |
+++ b/chrome/common/url_constants.cc |
@@ -35,7 +35,9 @@ const char kChromeUIExtensionsURL[] = "chrome://extensions/"; |
const char kChromeUIFaviconURL[] = "chrome://favicon/"; |
const char kChromeUIFlagsURL[] = "chrome://flags/"; |
const char kChromeUIFlashURL[] = "chrome://flash/"; |
+const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; |
const char kChromeUIGpuCrashURL[] = "chrome://gpucrash"; |
+const char kChromeUIGpuHangURL[] = "chrome://gpuhang"; |
const char kChromeUIHangURL[] = "chrome://hang/"; |
const char kChromeUIHistory2URL[] = "chrome://history2/"; |
const char kChromeUIHistoryURL[] = "chrome://history/"; |
@@ -285,6 +287,17 @@ const char kCloudPrintLearnMoreURL[] = |
"https://www.google.com/support/chromeos/bin/topic.py?topic=29023"; |
#endif |
+const char* const kChromeDebugURLs[] = { |
+ kChromeUICrashURL, |
+ kChromeUIKillURL, |
+ kChromeUIHangURL, |
+ kChromeUIShorthangURL, |
+ kChromeUIGpuCleanURL, |
+ kChromeUIGpuCrashURL, |
+ kChromeUIGpuHangURL, |
+}; |
+int kNumberOfChromeDebugURLs = static_cast<int>(arraysize(kChromeDebugURLs)); |
+ |
void RegisterChromeSchemes() { |
// Don't need "chrome-internal" which was used in old versions of Chrome for |
// the new tab page. |