Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: content/browser/frame_host/debug_urls.cc

Issue 1266893002: CFI: Add a new debug URL, chrome://badcast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 3f6769bac1fc385235637ef1d93177efb1929159..e33075fd235ba7b2e7c2242d636d44776bff7a6c 100644
--- a/content/browser/frame_host/debug_urls.cc
+++ b/content/browser/frame_host/debug_urls.cc
@@ -226,7 +226,8 @@ bool IsRendererDebugURL(const GURL& url) {
if (url.SchemeIs(url::kJavaScriptScheme))
return true;
- return url == GURL(kChromeUICrashURL) ||
+ return url == GURL(kChromeUIBadCastURL) ||
+ url == GURL(kChromeUICrashURL) ||
url == GURL(kChromeUIDumpURL) ||
url == GURL(kChromeUIKillURL) ||
url == GURL(kChromeUIHangURL) ||

Powered by Google App Engine
This is Rietveld 408576698