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

Unified Diff: chrome/browser/history/history_service.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: Changed to use onReceived for javascript 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: chrome/browser/history/history_service.cc
diff --git a/chrome/browser/history/history_service.cc b/chrome/browser/history/history_service.cc
index f1bdf22173999bee7faf2d4dfd0f9f5d52d1ce21..f51de6483302c28b9324feea70bc43e949fcafb3 100644
--- a/chrome/browser/history/history_service.cc
+++ b/chrome/browser/history/history_service.cc
@@ -1024,7 +1024,8 @@ bool HistoryService::CanAddURL(const GURL& url) {
url.SchemeIs(chrome::kChromeUIScheme) ||
url.SchemeIs(chrome::kChromeSearchScheme) ||
url.SchemeIs(content::kViewSourceScheme) ||
- url.SchemeIs(chrome::kChromeInternalScheme))
+ url.SchemeIs(chrome::kChromeInternalScheme) ||
+ url.SchemeIs(chrome::kDomDistillerScheme))
return false;
// Allow all about: and chrome: URLs except about:blank, since the user may

Powered by Google App Engine
This is Rietveld 408576698