| 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; | 10 option retain_unknown_fields = true; |
| 11 | 11 |
| 12 package sync_pb; | 12 package sync_pb; |
| 13 | 13 |
| 14 import "attachments.proto"; |
| 15 |
| 14 // Properties of Article objects. | 16 // Properties of Article objects. |
| 15 message ArticleSpecifics { | 17 message ArticleSpecifics { |
| 16 // Next ID to use: 4 | |
| 17 | |
| 18 optional string entry_id = 1; | 18 optional string entry_id = 1; |
| 19 | 19 |
| 20 optional string title = 2; | 20 optional string title = 2; |
| 21 | 21 |
| 22 repeated ArticlePage pages = 3; | 22 repeated ArticlePage pages = 3; |
| 23 |
| 24 optional ArticleAttachments attachments = 4; |
| 23 } | 25 } |
| 24 | 26 |
| 25 message ArticlePage { | 27 message ArticlePage { |
| 26 // Next ID to use: 2 | |
| 27 | |
| 28 optional string url = 1; | 28 optional string url = 1; |
| 29 } | 29 } |
| 30 |
| 31 message ArticleAttachments { |
| 32 optional AttachmentIdProto distilled_article = 1; |
| 33 } |
| OLD | NEW |