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

Side by Side Diff: components/reading_list/ios/proto/reading_list.proto

Issue 2557443003: Add Unseen state to Reading List Entry (Closed)
Patch Set: feedback Created 4 years 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 | components/reading_list/ios/reading_list_entry.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 package reading_list; 11 package reading_list;
12 12
13 // Local Reading list entry. This proto contains the fields stored locally for 13 // Local Reading list entry. This proto contains the fields stored locally for
14 // a reading list entry. It must be kept synced with the 14 // a reading list entry. It must be kept synced with the
15 // sync_pb.ReadingListSpecifics protobuf. 15 // sync_pb.ReadingListSpecifics protobuf.
16 message ReadingListLocal { 16 message ReadingListLocal {
17 optional string entry_id = 1; 17 optional string entry_id = 1;
18 optional string title = 2; 18 optional string title = 2;
19 optional string url = 3; 19 optional string url = 3;
20 optional int64 creation_time_us = 4; 20 optional int64 creation_time_us = 4;
21 optional int64 update_time_us = 5; 21 optional int64 update_time_us = 5;
22 optional int64 first_read_time_us = 11; 22 optional int64 first_read_time_us = 11;
23 23
24 enum ReadingListEntryStatus { 24 enum ReadingListEntryStatus {
25 UNREAD = 0; 25 UNREAD = 0;
26 READ = 1; 26 READ = 1;
27 UNSEEN = 2;
27 } 28 }
28 29 // If the field is not present, it defaults to UNSEEN.
29 optional ReadingListEntryStatus status = 6; 30 optional ReadingListEntryStatus status = 6;
30 31
31 enum DistillationState { 32 enum DistillationState {
32 WAITING = 0; 33 WAITING = 0;
33 PROCESSING = 1; 34 PROCESSING = 1;
34 PROCESSED = 2; 35 PROCESSED = 2;
35 WILL_RETRY = 3; 36 WILL_RETRY = 3;
36 ERROR = 4; 37 ERROR = 4;
37 } 38 }
38 optional DistillationState distillation_state = 7; 39 optional DistillationState distillation_state = 7;
39 optional string distilled_path = 8; 40 optional string distilled_path = 8;
40 optional int64 failed_download_counter = 9; 41 optional int64 failed_download_counter = 9;
41 optional string backoff = 10; 42 optional string backoff = 10;
42 } 43 }
OLDNEW
« no previous file with comments | « no previous file | components/reading_list/ios/reading_list_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698