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

Unified Diff: components/ntp_snippets/sessions/foreign_sessions_suggestions_provider.h

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/sessions/foreign_sessions_suggestions_provider.h
diff --git a/components/ntp_snippets/sessions/foreign_sessions_suggestions_provider.h b/components/ntp_snippets/sessions/foreign_sessions_suggestions_provider.h
index bb9540b96e9dc3d3dd1f0a33018958448c268c23..4d21a3f9157512664266889aec9064537f4fa0e7 100644
--- a/components/ntp_snippets/sessions/foreign_sessions_suggestions_provider.h
+++ b/components/ntp_snippets/sessions/foreign_sessions_suggestions_provider.h
@@ -54,8 +54,8 @@ class ForeignSessionsSuggestionsProvider : public ContentSuggestionsProvider {
// ContentSuggestionsProvider implementation.
CategoryStatus GetCategoryStatus(Category category) override;
CategoryInfo GetCategoryInfo(Category category) override;
- void DismissSuggestion(const std::string& suggestion_id) override;
- void FetchSuggestionImage(const std::string& suggestion_id,
+ void DismissSuggestion(const ContentSuggestion::ID& suggestion_id) override;
+ void FetchSuggestionImage(const ContentSuggestion::ID& suggestion_id,
const ImageFetchedCallback& callback) override;
void ClearHistory(
base::Time begin,

Powered by Google App Engine
This is Rietveld 408576698