| // Copyright 2013 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // |
| // Sync protocol datatype extension for the article. |
| |
| // If you change or add any fields in this file, update proto_visitors.h and |
| // potentially proto_enum_conversions.{h, cc}. |
| |
| syntax = "proto2"; |
| |
| option optimize_for = LITE_RUNTIME; |
| |
| package sync_pb; |
| |
| // Properties of Article objects. |
| message ArticleSpecifics { |
| optional string entry_id = 1; |
| |
| optional string title = 2; |
| |
| repeated ArticlePage pages = 3; |
| |
| // Article attachments were never launched, and the code was removed in M66. |
| optional DeprecatedArticleAttachments attachments = 4 [deprecated = true]; |
| } |
| |
| message ArticlePage { |
| optional string url = 1; |
| } |
| |
| message DeprecatedArticleAttachments {} |