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

Unified Diff: content/public/browser/url_data_source.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: Implement as data source instead. Also rebased across thousands of CLs. Created 6 years, 11 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/public/browser/url_data_source.cc
diff --git a/content/public/browser/url_data_source.cc b/content/public/browser/url_data_source.cc
index d9506f50cf3cc43532e2772667c62f61028c4783..3f91a81a34797ad7c7dde9ed7ba3c60b470c1a2b 100644
--- a/content/public/browser/url_data_source.cc
+++ b/content/public/browser/url_data_source.cc
@@ -47,6 +47,7 @@ bool URLDataSource::ShouldDenyXFrameOptions() const {
bool URLDataSource::ShouldServiceRequest(const net::URLRequest* request) const {
if (request->url().SchemeIs(chrome::kChromeDevToolsScheme) ||
+ request->url().SchemeIs(chrome::kDomDistillerScheme) ||
nasko 2014/01/16 23:39:12 nit: alphabetical order
nyquist 2014/01/22 00:47:58 We override this in the data source, so removed th
request->url().SchemeIs(chrome::kChromeUIScheme))
return true;
return false;

Powered by Google App Engine
This is Rietveld 408576698