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

Unified Diff: components/sync/protocol/reading_list_specifics.proto

Issue 2241583003: Creating protobuf for reading list sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: link message to code Created 4 years, 4 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
« no previous file with comments | « components/sync/base/model_type.h ('k') | components/sync/protocol/sync.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/protocol/reading_list_specifics.proto
diff --git a/components/sync/protocol/reading_list_specifics.proto b/components/sync/protocol/reading_list_specifics.proto
new file mode 100644
index 0000000000000000000000000000000000000000..827ba861ce6d7894a6621ba2d08fff8e4ad8fb6e
--- /dev/null
+++ b/components/sync/protocol/reading_list_specifics.proto
@@ -0,0 +1,34 @@
+// 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;
+option retain_unknown_fields = true;
+
+package sync_pb;
+
+// Properties of Reading list items..
Nicolas Zea 2016/08/17 19:12:09 nit: remove extra newline
Nicolas Zea 2016/08/17 19:12:32 By newline, I mean period :)
Olivier 2016/08/18 14:59:52 Done.
+message ReadingListSpecifics {
+ optional string entry_id = 1;
+
+ optional string title = 2;
+
+ required string url = 3;
+
+ required int64 creation_time_us = 4;
+
+ optional int64 update_time_us = 5;
+
+ enum ReadingListEntryStatus {
+ UNSEEN = 0;
+ UNREAD = 1;
+ READ = 2;
+ }
+
+ required ReadingListEntryStatus status = 6;
+}
+
« no previous file with comments | « components/sync/base/model_type.h ('k') | components/sync/protocol/sync.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698