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

Issue 2362063004: Find reading list entry state in model from url (Closed)

Created:
4 years, 3 months ago by gambard
Modified:
4 years, 2 months ago
CC:
chromium-reviews, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Find reading list entry state in model from url This CL adds a method in ReadingListModel to find the state of an entry in the model (not present, read, unread) base on the entry url. BUG=none

Patch Set 1 #

Patch Set 2 : update comment #

Total comments: 4

Patch Set 3 : Addressing comments + tests #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -0 lines) Patch
M ios/chrome/browser/reading_list/reading_list_model.h View 1 2 2 chunks +8 lines, -0 lines 3 comments Download
M ios/chrome/browser/reading_list/reading_list_model_impl.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_impl.cc View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_unittest.cc View 1 2 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
gambard
PTAL.
4 years, 3 months ago (2016-09-23 12:52:34 UTC) #2
gambard
4 years, 3 months ago (2016-09-23 13:40:43 UTC) #4
Olivier
https://codereview.chromium.org/2362063004/diff/20001/ios/chrome/browser/reading_list/reading_list_model.h File ios/chrome/browser/reading_list/reading_list_model.h (right): https://codereview.chromium.org/2362063004/diff/20001/ios/chrome/browser/reading_list/reading_list_model.h#newcode34 ios/chrome/browser/reading_list/reading_list_model.h:34: enum EntryState { NOTPRESENT, READ, UNREAD }; NOT_PRESENT? https://codereview.chromium.org/2362063004/diff/20001/ios/chrome/browser/reading_list/reading_list_model.h#newcode89 ...
4 years, 3 months ago (2016-09-23 14:54:54 UTC) #5
gambard
Thanks, PTAL. https://codereview.chromium.org/2362063004/diff/20001/ios/chrome/browser/reading_list/reading_list_model.h File ios/chrome/browser/reading_list/reading_list_model.h (right): https://codereview.chromium.org/2362063004/diff/20001/ios/chrome/browser/reading_list/reading_list_model.h#newcode34 ios/chrome/browser/reading_list/reading_list_model.h:34: enum EntryState { NOTPRESENT, READ, UNREAD }; ...
4 years, 2 months ago (2016-09-26 14:02:30 UTC) #6
Olivier
https://codereview.chromium.org/2362063004/diff/40001/ios/chrome/browser/reading_list/reading_list_model.h File ios/chrome/browser/reading_list/reading_list_model.h (right): https://codereview.chromium.org/2362063004/diff/40001/ios/chrome/browser/reading_list/reading_list_model.h#newcode89 ios/chrome/browser/reading_list/reading_list_model.h:89: virtual EntryState EntryStateByURL(const GURL& url) = 0; How will ...
4 years, 2 months ago (2016-09-27 08:55:33 UTC) #7
gambard
https://codereview.chromium.org/2362063004/diff/40001/ios/chrome/browser/reading_list/reading_list_model.h File ios/chrome/browser/reading_list/reading_list_model.h (right): https://codereview.chromium.org/2362063004/diff/40001/ios/chrome/browser/reading_list/reading_list_model.h#newcode89 ios/chrome/browser/reading_list/reading_list_model.h:89: virtual EntryState EntryStateByURL(const GURL& url) = 0; On 2016/09/27 ...
4 years, 2 months ago (2016-09-27 15:59:34 UTC) #8
Olivier
I don't really like the mixing of exist/not exist, read/unread state. +noyau, jif to see ...
4 years, 2 months ago (2016-10-04 08:54:38 UTC) #10
noyau (Ping after 24h)
https://codereview.chromium.org/2362063004/diff/40001/ios/chrome/browser/reading_list/reading_list_model.h File ios/chrome/browser/reading_list/reading_list_model.h (right): https://codereview.chromium.org/2362063004/diff/40001/ios/chrome/browser/reading_list/reading_list_model.h#newcode89 ios/chrome/browser/reading_list/reading_list_model.h:89: virtual EntryState EntryStateByURL(const GURL& url) = 0; On 2016/09/27 ...
4 years, 2 months ago (2016-10-04 09:13:26 UTC) #11
gambard
4 years, 2 months ago (2016-10-05 06:55:28 UTC) #12
Closing this issue, the change to the model made it unnecessary.

Powered by Google App Engine
This is Rietveld 408576698