Index: content/browser/frame_host/debug_urls.cc |
diff --git a/content/browser/frame_host/debug_urls.cc b/content/browser/frame_host/debug_urls.cc |
index 4e9d49d32a3d7be43ab7cb5b882f1cfd17c3d0d7..393fa36b9d23ad5fc993596f2aec45dd450d7242 100644 |
--- a/content/browser/frame_host/debug_urls.cc |
+++ b/content/browser/frame_host/debug_urls.cc |
@@ -80,6 +80,17 @@ bool HandleDebugURL(const GURL& url, PageTransition transition) { |
return false; |
} |
+bool IsDebugURL(const GURL& url) { |
+ return IsRendererDebugURL(url) || |
+ (url.is_valid() && |
+ (url.host() == kChromeUIBrowserCrashHost || |
Charlie Reis
2014/05/09 23:21:51
I worry about this getting stale when people add t
Ken Russell (switch to Gerrit)
2014/05/09 23:43:05
Added comments to both HandleDebugURL and IsDebugU
|
+ url == GURL(kChromeUIGpuCleanURL) || |
+ url == GURL(kChromeUIGpuCrashURL) || |
+ url == GURL(kChromeUIGpuHangURL) || |
+ url == GURL(kChromeUIPpapiFlashCrashURL) || |
+ url == GURL(kChromeUIPpapiFlashHangURL))); |
+} |
+ |
bool IsRendererDebugURL(const GURL& url) { |
if (!url.is_valid()) |
return false; |