Index: components/dom_distiller/core/distiller_page.h |
diff --git a/components/dom_distiller/core/distiller_page.h b/components/dom_distiller/core/distiller_page.h |
index 4fd15b247f7db426f71cd84b2a53bc643e269a9c..21c037fd507dcf7023148596468d38a0fef96166 100644 |
--- a/components/dom_distiller/core/distiller_page.h |
+++ b/components/dom_distiller/core/distiller_page.h |
@@ -18,11 +18,51 @@ |
namespace dom_distiller { |
struct DistilledPageInfo { |
+ struct MarkupArticle { |
+ std::string published_time; |
+ std::string modified_time; |
+ std::string expiration_time; |
+ std::string section; |
+ std::vector<std::string> authors; |
+ |
+ MarkupArticle(); |
+ ~MarkupArticle(); |
+ }; |
+ |
+ struct MarkupImage { |
+ std::string url; |
+ std::string secure_url; |
+ std::string type; |
+ std::string caption; |
+ int width; |
+ int height; |
+ |
+ MarkupImage(); |
+ ~MarkupImage(); |
+ }; |
+ |
+ struct MarkupInfo { |
+ std::string title; |
+ std::string type; |
+ std::string url; |
+ std::string description; |
+ std::string publisher; |
+ std::string copyright; |
+ std::string author; |
+ MarkupArticle article; |
+ std::vector<MarkupImage> images; |
+ |
+ MarkupInfo(); |
+ ~MarkupInfo(); |
+ }; |
+ |
std::string title; |
std::string html; |
std::string next_page_url; |
std::string prev_page_url; |
std::vector<std::string> image_urls; |
+ MarkupInfo markup_info; |
+ |
DistilledPageInfo(); |
~DistilledPageInfo(); |