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

Unified Diff: third_party/dom_distiller_js/package/proto/dom_distiller.proto

Issue 277563002: Update DomDistillerJsUpdater and Roll DomDistillerJs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pull one more change 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 side-by-side diff with in-line comments
Download patch
Index: third_party/dom_distiller_js/package/proto/dom_distiller.proto
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 0000000000000000000000000000000000000000..635fda64ad6b5804dee3a4b58ab93563724181a6
--- /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 {
+}

Powered by Google App Engine
This is Rietveld 408576698