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

Side by Side Diff: ios/chrome/browser/reading_list/proto/reading_list.proto

Issue 2451843002: Add Store+Sync to reading list. (Closed)
Patch Set: experimental_flags Created 4 years, 1 month 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
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 sync_pb; 11 package reading_list;
12 12
13 // Properties of Reading list items. 13 // Local Reading list entry.
14 message ReadingListSpecifics { 14 message ReadingListLocal {
15 optional string entry_id = 1; 15 optional string entry_id = 1;
16 16
17 optional string title = 2; 17 optional string title = 2;
18 18
19 optional string url = 3; 19 optional string url = 3;
20 20
21 optional int64 creation_time_us = 4; 21 optional int64 creation_time_us = 4;
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
32 enum DistillationState {
33 WAITING = 0;
34 PROCESSING = 1;
35 PROCESSED = 2;
36 WILL_RETRY = 3;
37 ERROR = 4;
38 }
39 optional DistillationState distillation_state = 7;
40 optional string distilled_url = 8;
41 optional string backoff = 9;
31 } 42 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698