OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 syntax = "proto2"; | 5 syntax = "proto2"; |
6 | 6 |
7 package dom_distiller.proto; | 7 package dom_distiller.proto; |
8 option optimize_for = LITE_RUNTIME; | 8 option optimize_for = LITE_RUNTIME; |
9 option java_package = "com.dom_distiller.proto"; | 9 option java_package = "org.chromium.distiller.proto"; |
10 option java_outer_classname = "DomDistillerProtos"; | 10 option java_outer_classname = "DomDistillerProtos"; |
11 | 11 |
12 message DistilledContent { | 12 message DistilledContent { |
13 optional string html = 1; | 13 optional string html = 1; |
14 } | 14 } |
15 | 15 |
16 message PaginationInfo { | 16 message PaginationInfo { |
17 optional string next_page = 1; | 17 optional string next_page = 1; |
18 optional string prev_page = 2; | 18 optional string prev_page = 2; |
19 optional string canonical_page = 3; | 19 optional string canonical_page = 3; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 // (0): Logs nothing | 99 // (0): Logs nothing |
100 // (1): Text Node data for each stage of processing | 100 // (1): Text Node data for each stage of processing |
101 // (2): (1) and some node visibility information | 101 // (2): (1) and some node visibility information |
102 // (3): (2) and extracted paging information | 102 // (3): (2) and extracted paging information |
103 optional int32 debug_level = 2; | 103 optional int32 debug_level = 2; |
104 | 104 |
105 // The original domain of the page if it's a file://, used for detecting next/
prev page links | 105 // The original domain of the page if it's a file://, used for detecting next/
prev page links |
106 // which expects the same domain for both current page and paging links. | 106 // which expects the same domain for both current page and paging links. |
107 optional string original_domain = 3; | 107 optional string original_domain = 3; |
108 } | 108 } |
OLD | NEW |