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

Unified Diff: content/browser/site_instance_impl.cc

Issue 9349010: Move handling of debug urls like chrome://crash, chrome://gpuclean to content. These are for test... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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/site_instance_impl.cc
===================================================================
--- content/browser/site_instance_impl.cc (revision 120733)
+++ content/browser/site_instance_impl.cc (working copy)
@@ -27,8 +27,10 @@
if (url.SchemeIs(chrome::kJavaScriptScheme))
return true;
- return
- content::GetContentClient()->browser()->IsURLSameAsAnySiteInstance(url);
+ return url == GURL(chrome::kChromeUICrashURL) ||
+ url == GURL(chrome::kChromeUIKillURL) ||
+ url == GURL(chrome::kChromeUIHangURL) ||
+ url == GURL(chrome::kChromeUIShorthangURL);
}
int32 SiteInstanceImpl::next_site_instance_id_ = 1;

Powered by Google App Engine
This is Rietveld 408576698