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

Unified Diff: components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc

Issue 2618243004: Add a unit test for the BookmarkSuggestionsProvider. (Closed)
Patch Set: renamed MockProvider and updated tests comments about expected behavior Created 3 years, 11 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
Index: components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc
diff --git a/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc b/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc
index 1f8fdf119ba6883e9d99cbc29d0d22119bb1c8b1..0b452a0e165e3ade8e1c8e9fd6efedfa77c21d87 100644
--- a/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc
+++ b/components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc
@@ -305,7 +305,6 @@ void BookmarkSuggestionsProvider::FetchBookmarksInternal() {
} else {
end_of_list_last_visit_date_ = suggestions.back().publish_date();
}
-
observer()->OnNewSuggestions(this, provided_category_,
std::move(suggestions));
}
« no previous file with comments | « components/ntp_snippets/BUILD.gn ('k') | components/ntp_snippets/bookmarks/bookmark_suggestions_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698