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

Issue 2214683002: [New CL] Add bookmark provider for content suggestions (Closed)

Created:
4 years, 4 months ago by Philipp Keck
Modified:
4 years, 4 months ago
CC:
chromium-reviews, ntp-dev+reviews_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@bookmarks
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add bookmark provider for content suggestions. This CL introduces a bookmark provider that lists the most recently visited/created bookmarks. Only visits on the same device are considered. As an initial version, it does not support - dismissing of bookmarks and - configuring parameters (count, recency threshold) via Finch. BUG=631475 Committed: https://crrev.com/2f529e9cad21a05815bf9be712c0e89212ded24c Cr-Commit-Position: refs/heads/master@{#410033}

Patch Set 1 #

Patch Set 2 : Move the feature to components #

Total comments: 11

Patch Set 3 : Remove from c/b/android/chrome_feature_list.cc #

Total comments: 2

Patch Set 4 : Insert a blank line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+302 lines, -2 lines) Patch
M chrome/app/generated_resources.grd View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ntp_snippets/content_suggestions_service_factory.cc View 1 6 chunks +19 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/snippets_internals_message_handler.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M components/ntp_snippets.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/ntp_snippets/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
A components/ntp_snippets/bookmarks/bookmark_suggestions_provider.h View 1 chunk +102 lines, -0 lines 0 comments Download
A components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc View 1 2 3 1 chunk +158 lines, -0 lines 0 comments Download
M components/ntp_snippets/category.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/ntp_snippets/category_factory.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/ntp_snippets/features.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/ntp_snippets/features.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 20 (9 generated)
Philipp Keck
This is a copy of https://codereview.chromium.org/2190583002#ps80001 because jkrcal is on holiday. I rebased, moved the ...
4 years, 4 months ago (2016-08-04 13:26:17 UTC) #4
Marc Treib
lgtm https://codereview.chromium.org/2214683002/diff/20001/chrome/browser/android/chrome_feature_list.cc File chrome/browser/android/chrome_feature_list.cc (right): https://codereview.chromium.org/2214683002/diff/20001/chrome/browser/android/chrome_feature_list.cc#newcode39 chrome/browser/android/chrome_feature_list.cc:39: &ntp_snippets::kBookmarkSuggestionsFeature, I don't think this needs to be ...
4 years, 4 months ago (2016-08-04 13:57:14 UTC) #5
Philipp Keck
Thank you https://codereview.chromium.org/2214683002/diff/20001/chrome/browser/android/chrome_feature_list.cc File chrome/browser/android/chrome_feature_list.cc (right): https://codereview.chromium.org/2214683002/diff/20001/chrome/browser/android/chrome_feature_list.cc#newcode39 chrome/browser/android/chrome_feature_list.cc:39: &ntp_snippets::kBookmarkSuggestionsFeature, On 2016/08/04 13:57:14, Marc Treib wrote: ...
4 years, 4 months ago (2016-08-04 14:43:43 UTC) #6
Marc Treib
https://codereview.chromium.org/2214683002/diff/20001/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc File components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc (right): https://codereview.chromium.org/2214683002/diff/20001/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc#newcode71 components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc:71: callback.Run(suggestion_id, gfx::Image()); On 2016/08/04 14:43:42, Philipp Keck wrote: > ...
4 years, 4 months ago (2016-08-04 14:46:27 UTC) #7
Bernhard Bauer
LGTM w/ some comments (sorry, didn't see those in my first review): https://codereview.chromium.org/2214683002/diff/20001/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc File components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc ...
4 years, 4 months ago (2016-08-04 18:10:55 UTC) #8
Philipp Keck
Thank you for reviewing. https://codereview.chromium.org/2214683002/diff/20001/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc File components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc (right): https://codereview.chromium.org/2214683002/diff/20001/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc#newcode71 components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc:71: callback.Run(suggestion_id, gfx::Image()); On 2016/08/04 18:10:55, ...
4 years, 4 months ago (2016-08-05 08:00:21 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/2214683002/60001
4 years, 4 months ago (2016-08-05 09:54:06 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/255967)
4 years, 4 months ago (2016-08-05 11:06:41 UTC) #14
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/2214683002/60001
4 years, 4 months ago (2016-08-05 11:08:24 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-05 11:52:27 UTC) #18
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 11:54:15 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2f529e9cad21a05815bf9be712c0e89212ded24c
Cr-Commit-Position: refs/heads/master@{#410033}

Powered by Google App Engine
This is Rietveld 408576698