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 43e821ef78d82f4171288e927068b264fb8ef74b..ef90a1a0bc18de69910a7debaa28002e9e04483a 100644 |
--- a/components/sync/protocol/proto_enum_conversions.cc |
+++ b/components/sync/protocol/proto_enum_conversions.cc |
@@ -337,6 +337,18 @@ const char* GetPasswordStateString( |
return ""; |
} |
+const char* GetReadingListEntryStatusString( |
+ sync_pb::ReadingListSpecifics::ReadingListEntryStatus status) { |
+ ASSERT_ENUM_BOUNDS(sync_pb::ReadingListSpecifics, ReadingListEntryStatus, |
+ UNREAD, READ); |
+ switch (status) { |
+ ENUM_CASE(sync_pb::ReadingListSpecifics, UNREAD); |
+ ENUM_CASE(sync_pb::ReadingListSpecifics, READ); |
+ } |
+ NOTREACHED(); |
+ return ""; |
+} |
+ |
#undef ASSERT_ENUM_BOUNDS |
#undef ENUM_CASE |