summaryrefslogtreecommitdiffstats
path: root/sync/protocol/article_specifics.proto
blob: 436fc2e40a125f7c334cce99e7d9b7ab652831b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// 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.

syntax = "proto2";

option optimize_for = LITE_RUNTIME;
option retain_unknown_fields = true;

package sync_pb;

import "attachments.proto";

// Properties of Article objects.
message ArticleSpecifics {
  optional string entry_id = 1;

  optional string title = 2;

  repeated ArticlePage pages = 3;

  optional ArticleAttachments attachments = 4;
}

message ArticlePage {
  optional string url = 1;
}

message ArticleAttachments {
  optional AttachmentIdProto distilled_article = 1;
}