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

Side by Side Diff: components/dom_distiller/core/proto/distilled_page.proto

Issue 146843010: Add support for multipage distillation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // Distilled page content. 5 // Distilled page content.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
11 package dom_distiller; 11 package dom_distiller;
12 12
13 message DistilledPageProto { 13 message DistilledPageProto {
14 // The URLs used to create this page. 14 // The URLs used to create this page.
15 required string url = 1; 15 required string url = 1;
16 16
17 // A title for the distilled page.
18 optional string title = 2;
19
20 // The distilled HTML. 17 // The distilled HTML.
21 required string html = 3; 18 required string html = 3;
22 19
23 message Image { 20 message Image {
24 // Handle to the image. This could be the URL where the image was found. 21 // Handle to the image. This could be the URL where the image was found.
25 // The handle should be referenced verbatim in the HTML. 22 // The handle should be referenced verbatim in the HTML.
26 required string name = 1; 23 required string name = 1;
27 24
28 // The image data 25 // The image data
29 required bytes data = 2; 26 required bytes data = 2;
30 } 27 }
31 28
32 // The images referenced in the HTML. 29 // The images referenced in the HTML.
33 repeated Image image = 4; 30 repeated Image image = 4;
34 } 31 }
OLDNEW
« no previous file with comments | « components/dom_distiller/core/proto/distilled_article.proto ('k') | components/dom_distiller/core/task_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698