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