OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 reading list items. | 5 // Sync protocol datatype extension for the reading list items. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 optional int64 update_time_us = 5; | 23 optional int64 update_time_us = 5; |
24 | 24 |
25 enum ReadingListEntryStatus { | 25 enum ReadingListEntryStatus { |
26 UNREAD = 0; | 26 UNREAD = 0; |
27 READ = 1; | 27 READ = 1; |
28 } | 28 } |
29 | 29 |
30 optional ReadingListEntryStatus status = 6; | 30 optional ReadingListEntryStatus status = 6; |
31 } | 31 } |
| 32 |
| 33 // Local Reading list entry. |
| 34 message ReadingListLocal { |
| 35 optional ReadingListSpecifics entry = 1; |
| 36 enum DistillationState { |
| 37 WAITING = 0; |
| 38 PROCESSING = 1; |
| 39 PROCESSED = 2; |
| 40 WILL_RETRY = 3; |
| 41 ERROR = 4; |
| 42 } |
| 43 optional DistillationState distillation_state = 2; |
| 44 optional string distilled_url = 3; |
| 45 optional string backoff = 4; |
| 46 } |
OLD | NEW |