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

Issue 2557443003: Add Unseen state to Reading List Entry (Closed)

Created:
4 years ago by Olivier
Modified:
4 years ago
Reviewers:
jif, jif-google, pavely
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Unseen state to Reading List Entry The new logic requires a flag in each entry, and this flag must be synced. Add a state in ReadingListEntry. When an entry is created, it is UNSEEN. It cannot be set back to this state. The logic is IsRead() := state_ == READ HasBeenSeen() := state_ != UNSEEN BUG=671185 Committed: https://crrev.com/bc9d2d7b3acde39d666adca91fdb897535455b5a Cr-Commit-Position: refs/heads/master@{#436563}

Patch Set 1 #

Patch Set 2 : Wire ReadingListEntry #

Total comments: 5

Patch Set 3 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -29 lines) Patch
M components/reading_list/ios/proto/reading_list.proto View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M components/reading_list/ios/reading_list_entry.h View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M components/reading_list/ios/reading_list_entry.cc View 1 2 11 chunks +57 lines, -21 lines 0 comments Download
M components/reading_list/ios/reading_list_entry_unittest.cc View 1 3 chunks +14 lines, -2 lines 0 comments Download
M components/reading_list/ios/reading_list_store_unittest.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M components/sync/protocol/proto_enum_conversions.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M components/sync/protocol/reading_list_specifics.proto View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Olivier
4 years ago (2016-12-05 18:23:59 UTC) #4
pavely
lgtm https://codereview.chromium.org/2557443003/diff/20001/components/reading_list/ios/reading_list_entry.cc File components/reading_list/ios/reading_list_entry.cc (right): https://codereview.chromium.org/2557443003/diff/20001/components/reading_list/ios/reading_list_entry.cc#newcode222 components/reading_list/ios/reading_list_entry.cc:222: State state = UNSEEN; Absent status is the ...
4 years ago (2016-12-05 19:10:31 UTC) #5
jif-google
lgtm https://codereview.chromium.org/2557443003/diff/20001/components/reading_list/ios/reading_list_entry.h File components/reading_list/ios/reading_list_entry.h (right): https://codereview.chromium.org/2557443003/diff/20001/components/reading_list/ios/reading_list_entry.h#newcode64 components/reading_list/ios/reading_list_entry.h:64: // Returns if ean entry has ever been ...
4 years ago (2016-12-05 19:25:00 UTC) #7
Olivier
Thanks https://codereview.chromium.org/2557443003/diff/20001/components/reading_list/ios/reading_list_entry.cc File components/reading_list/ios/reading_list_entry.cc (right): https://codereview.chromium.org/2557443003/diff/20001/components/reading_list/ios/reading_list_entry.cc#newcode222 components/reading_list/ios/reading_list_entry.cc:222: State state = UNSEEN; On 2016/12/05 19:10:31, pavely ...
4 years ago (2016-12-06 09:59:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2557443003/60001
4 years ago (2016-12-06 09:59:49 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years ago (2016-12-06 10:41:17 UTC) #15
commit-bot: I haz the power
4 years ago (2016-12-06 10:43:42 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bc9d2d7b3acde39d666adca91fdb897535455b5a
Cr-Commit-Position: refs/heads/master@{#436563}

Powered by Google App Engine
This is Rietveld 408576698