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

Unified Diff: components/dom_distiller/core/proto/distilled_page.proto

Issue 678543002: add pagination info to DistilledPageProto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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: components/dom_distiller/core/proto/distilled_page.proto
diff --git a/components/dom_distiller/core/proto/distilled_page.proto b/components/dom_distiller/core/proto/distilled_page.proto
index 1670b3dfdb50716db17c8105a39c0c294449b15a..5ece78faa97f03cd2233aace80cddd8e79d5de9b 100644
--- a/components/dom_distiller/core/proto/distilled_page.proto
+++ b/components/dom_distiller/core/proto/distilled_page.proto
@@ -42,4 +42,13 @@ message DistilledPageProto {
// text directionality
optional string text_direction = 7;
+
+ message PaginationInfo {
+ optional string next_page = 1;
+ optional string prev_page = 2;
+ optional string canonical_page = 3;
+ }
+
+ // Pagination info for this page.
+ optional PaginationInfo pagination_info = 8;
}
« no previous file with comments | « components/dom_distiller/core/distiller_unittest.cc ('k') | components/dom_distiller/standalone/content_extractor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698