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

Unified Diff: components/dom_distiller/standalone/content_extractor.cc

Issue 504263002: Add DebugInfo to DistilledPageProto. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-intermediate-distilledpageinfo-structs
Patch Set: merged in upstream Created 6 years, 3 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
« no previous file with comments | « components/dom_distiller/core/proto/distilled_page.proto ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/standalone/content_extractor.cc
diff --git a/components/dom_distiller/standalone/content_extractor.cc b/components/dom_distiller/standalone/content_extractor.cc
index 89446e21ab013c52bc472c353f1a8d7d9165fe92..fe7afaee7bf5fd37634f441ec5eadf321a623dca 100644
--- a/components/dom_distiller/standalone/content_extractor.cc
+++ b/components/dom_distiller/standalone/content_extractor.cc
@@ -143,6 +143,8 @@ std::string GetReadableArticleString(
output << "Page " << i << std::endl;
output << "URL: " << page.url() << std::endl;
output << "Content: " << page.html() << std::endl;
+ if (page.has_debug_info() && page.debug_info().has_log())
+ output << "Log: " << page.debug_info().log() << std::endl;
}
return output.str();
}
« no previous file with comments | « components/dom_distiller/core/proto/distilled_page.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698