diff options
Diffstat (limited to 'third_party/dom_distiller_js/package/proto/dom_distiller.proto')
-rw-r--r-- | third_party/dom_distiller_js/package/proto/dom_distiller.proto | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/third_party/dom_distiller_js/package/proto/dom_distiller.proto b/third_party/dom_distiller_js/package/proto/dom_distiller.proto new file mode 100644 index 0000000..635fda6 --- /dev/null +++ b/third_party/dom_distiller_js/package/proto/dom_distiller.proto @@ -0,0 +1,30 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +syntax = "proto2"; + +package dom_distiller.proto; +option optimize_for = LITE_RUNTIME; +option java_package = "com.dom_distiller.proto"; +option java_outer_classname = "DomDistillerProtos"; + +message DistilledContent { + optional string html = 1; +} + +message PaginationInfo { + optional string next_page = 1; + optional string prev_page = 2; + optional string canonical_page = 3; +} + +message DomDistillerResult { + optional string title = 1; + optional DistilledContent distilled_content = 2; + optional PaginationInfo pagination_info = 3; + repeated string image_urls = 4; +} + +message DomDistillerOptions { +} |