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

Side by Side Diff: components/sync/protocol/reading_list_specifics.proto

Issue 2241583003: Creating protobuf for reading list sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months 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 | « no previous file | 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
(Empty)
1 // Copyright 2016 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 reading list items.
6
7 syntax = "proto2";
8
9 option optimize_for = LITE_RUNTIME;
10 option retain_unknown_fields = true;
11
12 package sync_pb;
13
14 // Properties of Reading list items..
15 message ReadingListSpecifics {
16 optional string entry_id = 1;
17
18 optional string title = 2;
19
20 required string url = 3;
21
22 required int64 creation_time_us = 4;
lody 2016/08/12 09:47:55 What's the "us" stand for?
Olivier 2016/08/12 09:58:13 micro seconds.
stkhapugin 2016/08/12 11:25:39 Is this a universal naming? I've never seen it bef
Olivier 2016/08/12 11:42:21 Universal, I guess not. Very common yes, especiall
23
24 optional int64 update_time_us = 5;
25
26 enum ReadingListEntryStatus {
27 UNKNOWN = 0;
stkhapugin 2016/08/12 09:53:12 Do we need this? We have no code for such state.
Olivier 2016/08/12 09:58:13 Removed
28 UNREAD = 1;
29 READ = 2;
30 }
31
32 required ReadingListEntryStatus status = 6;
33 }
34
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698