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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2458093003: Add DCHECKs to validate ProfileIOData's list of protocols.
Patch Set: Merge remote-tracking branch 'origin/master' into detect_unregistered_schemes Created 4 years, 1 month 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: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index bf57e9244712c128072a09372f3a65a50466bdbc..dbdd1b0c24b5a013a3a3952674b0dd49906c1ff2 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1175,7 +1175,7 @@ bool ChromeContentBrowserClient::LogWebUIUrl(const GURL& web_ui_url) const {
}
bool ChromeContentBrowserClient::IsHandledURL(const GURL& url) {
- return ProfileIOData::IsHandledURL(url);
+ return ProfileIOData::HasBuiltInProtocol(url);
}
bool ChromeContentBrowserClient::CanCommitURL(

Powered by Google App Engine
This is Rietveld 408576698