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

Unified Diff: components/sync/protocol/proto_enum_conversions.cc

Issue 2557443003: Add Unseen state to Reading List Entry (Closed)
Patch Set: feedback Created 4 years 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: components/sync/protocol/proto_enum_conversions.cc
diff --git a/components/sync/protocol/proto_enum_conversions.cc b/components/sync/protocol/proto_enum_conversions.cc
index d1386dceeaf8920a0ff4be9e8a5cea34476c8785..5a2dff163375de082a9dc7fb8772b869e80b373a 100644
--- a/components/sync/protocol/proto_enum_conversions.cc
+++ b/components/sync/protocol/proto_enum_conversions.cc
@@ -335,10 +335,11 @@ const char* ProtoEnumToString(sync_pb::TabNavigation::PasswordState state) {
const char* ProtoEnumToString(
sync_pb::ReadingListSpecifics::ReadingListEntryStatus status) {
ASSERT_ENUM_BOUNDS(sync_pb::ReadingListSpecifics, ReadingListEntryStatus,
- UNREAD, READ);
+ UNREAD, UNSEEN);
switch (status) {
ENUM_CASE(sync_pb::ReadingListSpecifics, UNREAD);
ENUM_CASE(sync_pb::ReadingListSpecifics, READ);
+ ENUM_CASE(sync_pb::ReadingListSpecifics, UNSEEN);
}
NOTREACHED();
return "";
« no previous file with comments | « components/reading_list/ios/reading_list_store_unittest.mm ('k') | components/sync/protocol/reading_list_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698