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; |
| 23 |
| 24 optional int64 update_time_us = 5; |
| 25 |
| 26 enum ReadingListEntryStatus { |
| 27 UNSEEN = 0; |
| 28 UNREAD = 1; |
| 29 READ = 2; |
| 30 } |
| 31 |
| 32 required ReadingListEntryStatus status = 6; |
| 33 } |
| 34 |
OLD | NEW |