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

Unified Diff: ios/chrome/browser/reading_list/proto/reading_list.proto

Issue 2369303002: Reading List create protobuf store (Closed)
Patch Set: feedback Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/reading_list/proto/reading_list.proto
diff --git a/ios/chrome/browser/reading_list/proto/reading_list.proto b/ios/chrome/browser/reading_list/proto/reading_list.proto
new file mode 100644
index 0000000000000000000000000000000000000000..eb7edbf6b3fa755b54791d587fafccb21af038e8
--- /dev/null
+++ b/ios/chrome/browser/reading_list/proto/reading_list.proto
@@ -0,0 +1,28 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Sync protocol datatype extension for the reading list items.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+import "reading_list_specifics.proto";
+
+package reading_list;
+
+// Local Reading list entry.
+message ReadingListLocal {
+ optional sync_pb.ReadingListSpecifics entry = 1;
+ enum DistillationState {
+ WAITING = 0;
+ PROCESSING = 1;
+ PROCESSED = 2;
+ WILL_RETRY = 3;
+ ERROR = 4;
+ }
+ optional DistillationState distillation_state = 2;
+ optional string distilled_url = 3;
+ optional string backoff = 4;
+}

Powered by Google App Engine
This is Rietveld 408576698