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

Issue 2190583002: Add bookmark provider for content suggestions (Closed)

Created:
4 years, 4 months ago by jkrcal
Modified:
4 years, 4 months ago
CC:
chromium-reviews, ntp-dev+reviews_chromium.org, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, rginda+watch_chromium.org, asvitkine+watch_chromium.org, brettw
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
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. On 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. TBR=brettw@chromium.org BUG=631475

Patch Set 1 #

Patch Set 2 : Finishing the first version #

Patch Set 3 : Fix one comment line #

Total comments: 10

Patch Set 4 : Comments #1 #

Total comments: 2

Patch Set 5 : Comments #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -15 lines) Patch
M chrome/app/generated_resources.grd View 1 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/about_flags.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_feature_list.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/chrome_feature_list.cc View 2 chunks +4 lines, -0 lines 0 comments Download
A + chrome/browser/android/ntp/bookmark_suggestions_provider_factory.h View 2 chunks +11 lines, -12 lines 0 comments Download
A chrome/browser/android/ntp/bookmark_suggestions_provider_factory.cc View 1 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 2 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/snippets_internals_message_handler.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/ntp_snippets.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/ntp_snippets/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A components/ntp_snippets/bookmarks/bookmark_suggestions_provider.h View 1 2 3 1 chunk +106 lines, -0 lines 0 comments Download
A components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc View 1 2 3 4 1 chunk +167 lines, -0 lines 0 comments Download
M components/ntp_snippets/content_suggestions_category.h View 1 chunk +6 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (10 generated)
jkrcal
Bernhard, PTAL! Stefan, PTAL at chrome/browser/profiles/profile_manager.cc
4 years, 4 months ago (2016-07-29 08:49:28 UTC) #3
chromium-reviews
+Marc, Philipp: can you coordinate with Jan to make sure this CL fits into the ...
4 years, 4 months ago (2016-07-29 10:08:12 UTC) #4
Marc Treib
FYI: Some parts of this will conflict with pke's https://codereview.chromium.org/2187233002/ +pke FYI Also some drive-by ...
4 years, 4 months ago (2016-07-29 10:08:35 UTC) #6
Bernhard Bauer
https://codereview.chromium.org/2190583002/diff/40001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2190583002/diff/40001/chrome/browser/profiles/profile_manager.cc#newcode1235 chrome/browser/profiles/profile_manager.cc:1235: BookmarkSuggestionsProviderFactory::GetForProfile(profile); Can we please not add any more initialization ...
4 years, 4 months ago (2016-07-29 10:28:51 UTC) #7
jkrcal
Thanks, PTAL again! (mixed with a rebase of the underlying CL, I am sorry about ...
4 years, 4 months ago (2016-07-29 13:57:17 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/2190583002/diff/40001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2190583002/diff/40001/chrome/browser/profiles/profile_manager.cc#newcode1235 chrome/browser/profiles/profile_manager.cc:1235: BookmarkSuggestionsProviderFactory::GetForProfile(profile); On 2016/07/29 13:57:17, jkrcal wrote: > On 2016/07/29 ...
4 years, 4 months ago (2016-07-29 14:32:42 UTC) #11
jkrcal
Thanks. PTAL, again. https://codereview.chromium.org/2190583002/diff/40001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2190583002/diff/40001/chrome/browser/profiles/profile_manager.cc#newcode1235 chrome/browser/profiles/profile_manager.cc:1235: BookmarkSuggestionsProviderFactory::GetForProfile(profile); On 2016/07/29 14:32:42, Bernhard Bauer ...
4 years, 4 months ago (2016-07-29 16:09:56 UTC) #14
Bernhard Bauer
lgtm
4 years, 4 months ago (2016-08-01 09:09:15 UTC) #15
Mr4D (OOO till 08-26)
chrome/browser/profiles/profile_manager.cc lgtm
4 years, 4 months ago (2016-08-01 15:53:27 UTC) #16
Bernhard Bauer
Sending to CQ in Jan's absence.
4 years, 4 months ago (2016-08-01 16:02:46 UTC) #18
commit-bot: I haz the power
This CL has an open dependency (Issue 2184263005 Patch 40001). Please resolve the dependency and ...
4 years, 4 months ago (2016-08-01 16:03:03 UTC) #21
Philipp Keck
4 years, 4 months ago (2016-08-04 13:27:22 UTC) #22
On 2016/08/01 16:03:03, commit-bot: I haz the power wrote:
> This CL has an open dependency (Issue 2184263005 Patch 40001). Please resolve
> the dependency and try again.
> If you are sure that there is no real dependency, please use one of the
options
> listed in https://goo.gl/9Es4OR to land the CL.

I'm taking over this CL, the new CL is here:
https://codereview.chromium.org/2214683002/

Mr4D, thank you for reviewing this one. You won't have to look at the new one
because we refactored our factories, so we now don't have to touch
profile_manager.cc anymore.

Powered by Google App Engine
This is Rietveld 408576698