OLD | NEW |
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 // Sync protocol datatype extension for the article. | 5 // Sync protocol datatype extension for the article. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 option retain_unknown_fields = true; | |
11 | 10 |
12 package sync_pb; | 11 package sync_pb; |
13 | 12 |
14 import "attachments.proto"; | 13 import "attachments.proto"; |
15 | 14 |
16 // Properties of Article objects. | 15 // Properties of Article objects. |
17 message ArticleSpecifics { | 16 message ArticleSpecifics { |
18 optional string entry_id = 1; | 17 optional string entry_id = 1; |
19 | 18 |
20 optional string title = 2; | 19 optional string title = 2; |
21 | 20 |
22 repeated ArticlePage pages = 3; | 21 repeated ArticlePage pages = 3; |
23 | 22 |
24 optional ArticleAttachments attachments = 4; | 23 optional ArticleAttachments attachments = 4; |
25 } | 24 } |
26 | 25 |
27 message ArticlePage { | 26 message ArticlePage { |
28 optional string url = 1; | 27 optional string url = 1; |
29 } | 28 } |
30 | 29 |
31 message ArticleAttachments { | 30 message ArticleAttachments { |
32 optional AttachmentIdProto distilled_article = 1; | 31 optional AttachmentIdProto distilled_article = 1; |
33 } | 32 } |
OLD | NEW |