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

Issue 2305583002: Do not select old bookmarks in ntp_snippets::BookmarkSuggestionsProvider (Closed)

Created:
4 years, 3 months ago by vitaliii
Modified:
4 years, 3 months ago
Reviewers:
Marc Treib, sky
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not select old bookmarks in ntp_snippets::BookmarkSuggestionsProvider Previosly old boolmarks could be selected when there is not enough recent ones. After this CL old bookmarks are ignored. BUG=642734 Committed: https://crrev.com/9e34a1c3b6e2a94b5d335e388b0b6d7d7a38eaa9 Cr-Commit-Position: refs/heads/master@{#416212}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Marc's comments. #

Total comments: 10

Patch Set 3 : Marc's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -1 line) Patch
M components/ntp_snippets/BUILD.gn View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M components/ntp_snippets/bookmarks/DEPS View 1 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/bookmarks/bookmark_last_visit_utils.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A components/ntp_snippets/bookmarks/bookmark_last_visit_utils_unittest.cc View 1 2 1 chunk +123 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (4 generated)
vitaliii
Hi Marc, Could you have a look, please?
4 years, 3 months ago (2016-09-01 09:24:23 UTC) #2
Marc Treib
https://codereview.chromium.org/2305583002/diff/1/components/ntp_snippets/bookmarks/DEPS File components/ntp_snippets/bookmarks/DEPS (right): https://codereview.chromium.org/2305583002/diff/1/components/ntp_snippets/bookmarks/DEPS#newcode3 components/ntp_snippets/bookmarks/DEPS:3: "+components/bookmarks/test", Might as well combine these two to components/bookmarks, ...
4 years, 3 months ago (2016-09-01 09:46:01 UTC) #3
vitaliii
Hi Marc, would you mind having a look on my fix? https://codereview.chromium.org/2305583002/diff/1/components/ntp_snippets/bookmarks/DEPS File components/ntp_snippets/bookmarks/DEPS (right): ...
4 years, 3 months ago (2016-09-01 10:15:42 UTC) #4
Marc Treib
https://codereview.chromium.org/2305583002/diff/20001/components/ntp_snippets/BUILD.gn File components/ntp_snippets/BUILD.gn (right): https://codereview.chromium.org/2305583002/diff/20001/components/ntp_snippets/BUILD.gn#newcode125 components/ntp_snippets/BUILD.gn:125: "//components/image_fetcher", I think you need to add //components/bookmarks/browser and ...
4 years, 3 months ago (2016-09-01 11:16:32 UTC) #5
vitaliii
Hi Marc, would you mind checking my new fix? https://codereview.chromium.org/2305583002/diff/20001/components/ntp_snippets/BUILD.gn File components/ntp_snippets/BUILD.gn (right): https://codereview.chromium.org/2305583002/diff/20001/components/ntp_snippets/BUILD.gn#newcode125 components/ntp_snippets/BUILD.gn:125: ...
4 years, 3 months ago (2016-09-01 11:38:43 UTC) #6
Marc Treib
LGTM, thanks! (You'll also need approval from a components/bookmarks owner for the new dependency)
4 years, 3 months ago (2016-09-01 11:41:43 UTC) #7
vitaliii
Hi Sky, We use BookmarkModel and needed to create tests. In order to create the ...
4 years, 3 months ago (2016-09-01 11:48:24 UTC) #9
sky
New DEPS LGTM
4 years, 3 months ago (2016-09-01 18:31:14 UTC) #10
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/2305583002/40001
4 years, 3 months ago (2016-09-02 06:55:57 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-02 07:53:47 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-09-02 07:55:31 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9e34a1c3b6e2a94b5d335e388b0b6d7d7a38eaa9
Cr-Commit-Position: refs/heads/master@{#416212}

Powered by Google App Engine
This is Rietveld 408576698