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

Side by Side Diff: third_party/dom_distiller_js/package/proto/dom_distiller.proto

Issue 297563002: Roll DomDistillerJs (and make updater generate BUG=) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 = "com.dom_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;
20 } 20 }
21 21
22 message DomDistillerResult { 22 message DomDistillerResult {
23 optional string title = 1; 23 optional string title = 1;
24 optional DistilledContent distilled_content = 2; 24 optional DistilledContent distilled_content = 2;
25 optional PaginationInfo pagination_info = 3; 25 optional PaginationInfo pagination_info = 3;
26 repeated string image_urls = 4; 26 repeated string image_urls = 4;
27 } 27 }
28 28
29 message DomDistillerOptions { 29 message DomDistillerOptions {
30 // Whether to extract only the text (or to include the containing html).
31 optional bool extract_text_only = 1;
30 } 32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698