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

Unified Diff: content/public/common/url_utils.cc

Issue 105723002: Add the scheme chrome-distiller:// and hook up data source. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unnecessary dependency on DomDistillerService Created 7 years 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/public/common/url_utils.cc
diff --git a/content/public/common/url_utils.cc b/content/public/common/url_utils.cc
index 2f08b9650b63a10b92353909eaa8a1b5b9f44cb0..09d0eeec006c736931939e8431fb00ceba056cbd 100644
--- a/content/public/common/url_utils.cc
+++ b/content/public/common/url_utils.cc
@@ -20,6 +20,7 @@ bool HasWebUIScheme(const GURL& url) {
#if !defined(OS_IOS)
url.SchemeIs(chrome::kChromeDevToolsScheme) ||
url.SchemeIs(chrome::kChromeInternalScheme) ||
+ url.SchemeIs(chrome::kDomDistillerScheme) ||
#endif
url.SchemeIs(chrome::kChromeUIScheme);
}

Powered by Google App Engine
This is Rietveld 408576698