Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Side by Side Diff: sync/protocol/article_specifics.proto

Issue 717793007: Add attachments support to DomDistillerStore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/dom_distiller/core/dom_distiller_store_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « components/dom_distiller/core/dom_distiller_store_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698