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

Issue 2436743002: Add GetEntryFromURL method to the ReadingListModel. (Closed)

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

Description

Add GetEntryFromURL method to the ReadingListModel. BUG=659099 Committed: https://crrev.com/ad74ddb4727198767e957dd95d073969f92bcdb9 Cr-Commit-Position: refs/heads/master@{#427362}

Patch Set 1 #

Patch Set 2 : 2 #

Total comments: 12

Patch Set 3 : Addressed comments. #

Total comments: 2

Patch Set 4 : Fixed test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -12 lines) Patch
M ios/chrome/browser/reading_list/reading_list_model.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_impl.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_impl.cc View 1 2 2 chunks +16 lines, -11 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_unittest.cc View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (25 generated)
jif
ptal
4 years, 1 month ago (2016-10-25 13:00:38 UTC) #3
Olivier
https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_impl.cc File ios/chrome/browser/reading_list/reading_list_model_impl.cc (right): https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_impl.cc#newcode71 ios/chrome/browser/reading_list/reading_list_model_impl.cc:71: auto it = std::find_if( DCHECK(loaded()) https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_impl.cc#newcode73 ios/chrome/browser/reading_list/reading_list_model_impl.cc:73: [&gurl](const ReadingListEntry& ...
4 years, 1 month ago (2016-10-25 13:10:09 UTC) #8
Olivier
https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_unittest.cc File ios/chrome/browser/reading_list/reading_list_model_unittest.cc (right): https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_unittest.cc#newcode181 ios/chrome/browser/reading_list/reading_list_model_unittest.cc:181: EXPECT_NE(nullptr, entry1) ; https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_unittest.cc#newcode182 ios/chrome/browser/reading_list/reading_list_model_unittest.cc:182: EXPECT_EQ(entry1_title, entry1->Title()); mark read, ...
4 years, 1 month ago (2016-10-25 13:11:26 UTC) #9
gambard
lgtm after olivier comments but update CL description and bug (with 659099?) https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_impl.cc File ios/chrome/browser/reading_list/reading_list_model_impl.cc ...
4 years, 1 month ago (2016-10-25 13:18:34 UTC) #11
jif
https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_impl.cc File ios/chrome/browser/reading_list/reading_list_model_impl.cc (right): https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_impl.cc#newcode71 ios/chrome/browser/reading_list/reading_list_model_impl.cc:71: auto it = std::find_if( On 2016/10/25 13:10:09, Olivier Robin ...
4 years, 1 month ago (2016-10-25 13:18:45 UTC) #13
Olivier
https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_impl.cc File ios/chrome/browser/reading_list/reading_list_model_impl.cc (right): https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_impl.cc#newcode73 ios/chrome/browser/reading_list/reading_list_model_impl.cc:73: [&gurl](const ReadingListEntry& entry) { return gurl == entry.URL(); }); ...
4 years, 1 month ago (2016-10-25 13:22:00 UTC) #15
jif-google
https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_impl.cc File ios/chrome/browser/reading_list/reading_list_model_impl.cc (right): https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_impl.cc#newcode73 ios/chrome/browser/reading_list/reading_list_model_impl.cc:73: [&gurl](const ReadingListEntry& entry) { return gurl == entry.URL(); }); ...
4 years, 1 month ago (2016-10-25 13:51:28 UTC) #17
Olivier
LGTM once test is fixed. https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_impl.cc File ios/chrome/browser/reading_list/reading_list_model_impl.cc (right): https://codereview.chromium.org/2436743002/diff/20001/ios/chrome/browser/reading_list/reading_list_model_impl.cc#newcode73 ios/chrome/browser/reading_list/reading_list_model_impl.cc:73: [&gurl](const ReadingListEntry& entry) { ...
4 years, 1 month ago (2016-10-25 15:21:10 UTC) #27
jif
https://codereview.chromium.org/2436743002/diff/40001/ios/chrome/browser/reading_list/reading_list_model_unittest.cc File ios/chrome/browser/reading_list/reading_list_model_unittest.cc (right): https://codereview.chromium.org/2436743002/diff/40001/ios/chrome/browser/reading_list/reading_list_model_unittest.cc#newcode184 ios/chrome/browser/reading_list/reading_list_model_unittest.cc:184: EXPECT_NE(nullptr, entry1); On 2016/10/25 15:21:09, Olivier Robin wrote: > ...
4 years, 1 month ago (2016-10-25 15:36:16 UTC) #30
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/2436743002/60001
4 years, 1 month ago (2016-10-25 15:36:37 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-25 15:41:25 UTC) #35
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 15:44:58 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ad74ddb4727198767e957dd95d073969f92bcdb9
Cr-Commit-Position: refs/heads/master@{#427362}

Powered by Google App Engine
This is Rietveld 408576698