OLD | NEW |
---|---|
(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 | |
OLD | NEW |