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

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

Issue 2763233003: Move ReadingList model to components/reading_list/core (Closed)
Patch Set: feedback Created 3 years, 9 months 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
(...skipping 17 matching lines...) Expand all
28 UNSEEN = 2; 28 UNSEEN = 2;
29 } 29 }
30 // If the field is not present, it defaults to UNSEEN. 30 // If the field is not present, it defaults to UNSEEN.
31 optional ReadingListEntryStatus status = 6; 31 optional ReadingListEntryStatus status = 6;
32 32
33 enum DistillationState { 33 enum DistillationState {
34 WAITING = 0; 34 WAITING = 0;
35 PROCESSING = 1; 35 PROCESSING = 1;
36 PROCESSED = 2; 36 PROCESSED = 2;
37 WILL_RETRY = 3; 37 WILL_RETRY = 3;
38 ERROR = 4; 38 DISTILLATION_ERROR = 4;
39 } 39 }
40 optional DistillationState distillation_state = 7; 40 optional DistillationState distillation_state = 7;
41 optional string distilled_path = 8; 41 optional string distilled_path = 8;
42 optional string distilled_url = 13; 42 optional string distilled_url = 13;
43 optional int64 failed_download_counter = 9; 43 optional int64 failed_download_counter = 9;
44 optional string backoff = 10; 44 optional string backoff = 10;
45 optional int64 distillation_time_us = 14; 45 optional int64 distillation_time_us = 14;
46 optional int64 distillation_size = 15; 46 optional int64 distillation_size = 15;
47 } 47 }
OLDNEW
« no previous file with comments | « components/reading_list/core/proto/BUILD.gn ('k') | components/reading_list/core/reading_list_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698