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

Side by Side Diff: proto/dom_distiller.proto

Issue 661883003: add option for original domain (Closed) Base URL: https://code.google.com/p/dom-distiller/@master
Patch Set: rm empty line 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
« no previous file with comments | « no previous file | src/com/dom_distiller/client/DomDistiller.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 message DomDistillerOptions { 78 message DomDistillerOptions {
79 // Whether to extract only the text (or to include the containing html). 79 // Whether to extract only the text (or to include the containing html).
80 optional bool extract_text_only = 1; 80 optional bool extract_text_only = 1;
81 81
82 // How much debug output to dump to window.console. 82 // How much debug output to dump to window.console.
83 // (0): Logs nothing 83 // (0): Logs nothing
84 // (1): Text Node data for each stage of processing 84 // (1): Text Node data for each stage of processing
85 // (2): (1) and some node visibility information 85 // (2): (1) and some node visibility information
86 // (3): (2) and extracted paging information 86 // (3): (2) and extracted paging information
87 optional int32 debug_level = 2; 87 optional int32 debug_level = 2;
88
89 // The original domain of the page if it's a file://, used for detecting next/ prev page links
90 // which expects the same domain for both current page and paging links.
91 optional string original_domain = 3;
88 } 92 }
OLDNEW
« no previous file with comments | « no previous file | src/com/dom_distiller/client/DomDistiller.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698