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

Unified Diff: components/ntp_snippets/content_suggestions_provider.cc

Issue 2377663002: [NTP Snippets] Introduce ContentSuggestion::ID (Closed)
Patch Set: rebase Created 4 years, 3 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/content_suggestions_provider.cc
diff --git a/components/ntp_snippets/content_suggestions_provider.cc b/components/ntp_snippets/content_suggestions_provider.cc
index de3c7592d07c91ed1e50670bd081f2c13acba8df..34896577b984691a8bce6b4a0adc58dade8d582f 100644
--- a/components/ntp_snippets/content_suggestions_provider.cc
+++ b/components/ntp_snippets/content_suggestions_provider.cc
@@ -15,20 +15,4 @@ ContentSuggestionsProvider::ContentSuggestionsProvider(
ContentSuggestionsProvider::~ContentSuggestionsProvider() = default;
-std::string ContentSuggestionsProvider::MakeUniqueID(
- Category category,
- const std::string& within_category_id) const {
- return category_factory()->MakeUniqueID(category, within_category_id);
-}
-
-Category ContentSuggestionsProvider::GetCategoryFromUniqueID(
- const std::string& unique_id) const {
- return category_factory()->GetCategoryFromUniqueID(unique_id);
-}
-
-std::string ContentSuggestionsProvider::GetWithinCategoryIDFromUniqueID(
- const std::string& unique_id) const {
- return category_factory()->GetWithinCategoryIDFromUniqueID(unique_id);
-}
-
} // namespace ntp_snippets
« no previous file with comments | « components/ntp_snippets/content_suggestions_provider.h ('k') | components/ntp_snippets/content_suggestions_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698