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

Unified Diff: ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc

Issue 2805703002: Remove the bookmark provider from ContentSuggestions (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc
diff --git a/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc b/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc
index 375ee4b689bbd58920e34f56a52594faa3381562..4db7aa6bb81687132960c3e9703ec78ece5c5f15 100644
--- a/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc
+++ b/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc
@@ -154,16 +154,6 @@ IOSChromeContentSuggestionsServiceFactory::BuildServiceInstanceFor(
prefs, std::move(category_ranker), std::move(user_classifier),
std::move(scheduler));
- // Create the BookmarkSuggestionsProvider.
- if (base::FeatureList::IsEnabled(ntp_snippets::kBookmarkSuggestionsFeature)) {
- BookmarkModel* bookmark_model =
- BookmarkModelFactory::GetForBrowserState(chrome_browser_state);
- std::unique_ptr<BookmarkSuggestionsProvider> bookmark_suggestions_provider =
- base::MakeUnique<BookmarkSuggestionsProvider>(service.get(),
- bookmark_model, prefs);
- service->RegisterProvider(std::move(bookmark_suggestions_provider));
- }
-
// Create the ReadingListSuggestionsProvider.
ReadingListModel* reading_list_model =
ReadingListModelFactory::GetForBrowserState(chrome_browser_state);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698