Chromium Code Reviews| 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; |
| +} |
| + |