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

Issue 2434993002: Add methods to Reading List Model (Closed)

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

Description

Add methods to Reading List Model This CL adds two methods to the reading list model. One method to remove all entries for tests and a method to mark an entry as unread. BUG=656966 Committed: https://crrev.com/4487ea507dc46d6f7cee7dab314f939011c0c728 Cr-Commit-Position: refs/heads/master@{#426758}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments #

Patch Set 3 : Add tests #

Patch Set 4 : Remove ClearModelForTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -4 lines) Patch
M ios/chrome/browser/reading_list/reading_list_model.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_impl.cc View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_observer.h View 1 1 chunk +3 lines, -4 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_unittest.cc View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
gambard
PTAL.
4 years, 2 months ago (2016-10-20 11:04:56 UTC) #2
Olivier
https://codereview.chromium.org/2434993002/diff/1/ios/chrome/browser/reading_list/reading_list_model.h File ios/chrome/browser/reading_list/reading_list_model.h (right): https://codereview.chromium.org/2434993002/diff/1/ios/chrome/browser/reading_list/reading_list_model.h#newcode115 ios/chrome/browser/reading_list/reading_list_model.h:115: // Remove all reading list entries. Used for tests ...
4 years, 2 months ago (2016-10-20 11:25:39 UTC) #3
gambard
Thanks, PTAL. https://codereview.chromium.org/2434993002/diff/1/ios/chrome/browser/reading_list/reading_list_model.h File ios/chrome/browser/reading_list/reading_list_model.h (right): https://codereview.chromium.org/2434993002/diff/1/ios/chrome/browser/reading_list/reading_list_model.h#newcode115 ios/chrome/browser/reading_list/reading_list_model.h:115: // Remove all reading list entries. Used ...
4 years, 2 months ago (2016-10-20 11:51:35 UTC) #4
Olivier
https://codereview.chromium.org/2434993002/diff/1/ios/chrome/browser/reading_list/reading_list_model.h File ios/chrome/browser/reading_list/reading_list_model.h (right): https://codereview.chromium.org/2434993002/diff/1/ios/chrome/browser/reading_list/reading_list_model.h#newcode115 ios/chrome/browser/reading_list/reading_list_model.h:115: // Remove all reading list entries. Used for tests ...
4 years, 2 months ago (2016-10-20 13:38:03 UTC) #5
gambard
Thanks, PTAL. https://codereview.chromium.org/2434993002/diff/1/ios/chrome/browser/reading_list/reading_list_model.h File ios/chrome/browser/reading_list/reading_list_model.h (right): https://codereview.chromium.org/2434993002/diff/1/ios/chrome/browser/reading_list/reading_list_model.h#newcode115 ios/chrome/browser/reading_list/reading_list_model.h:115: // Remove all reading list entries. Used ...
4 years, 2 months ago (2016-10-20 15:43:06 UTC) #6
Olivier
lgtm
4 years, 2 months ago (2016-10-21 08:59:55 UTC) #7
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/2434993002/60001
4 years, 2 months ago (2016-10-21 09:00:47 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-21 09:29:43 UTC) #10
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:28:26 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4487ea507dc46d6f7cee7dab314f939011c0c728
Cr-Commit-Position: refs/heads/master@{#426758}

Powered by Google App Engine
This is Rietveld 408576698