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

Side by Side 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, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Distilled page content. 5 // Distilled page content.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
(...skipping 24 matching lines...) Expand all
35 message DebugInfo { 35 message DebugInfo {
36 // Contains the log from the JS distiller. 36 // Contains the log from the JS distiller.
37 optional string log = 1; 37 optional string log = 1;
38 } 38 }
39 39
40 // Debug information about this page. 40 // Debug information about this page.
41 optional DebugInfo debug_info = 6; 41 optional DebugInfo debug_info = 6;
42 42
43 // text directionality 43 // text directionality
44 optional string text_direction = 7; 44 optional string text_direction = 7;
45
46 message PaginationInfo {
47 optional string next_page = 1;
48 optional string prev_page = 2;
49 optional string canonical_page = 3;
50 }
51
52 // Pagination info for this page.
53 optional PaginationInfo pagination_info = 8;
45 } 54 }
OLDNEW
« 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