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

Unified Diff: components/ntp_snippets/remote/ntp_snippets_service.h

Issue 2387293009: Removes a data-dependent DCHECK(). (Closed)
Patch Set: synced to head Created 4 years, 2 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/remote/ntp_snippets_service.h
diff --git a/components/ntp_snippets/remote/ntp_snippets_service.h b/components/ntp_snippets/remote/ntp_snippets_service.h
index 6ac485d9997ae960feb5601aad8732a04bc7c481..84e95fa3f72a1250d79f8bfa02d350ce35d3768f 100644
--- a/components/ntp_snippets/remote/ntp_snippets_service.h
+++ b/components/ntp_snippets/remote/ntp_snippets_service.h
@@ -219,7 +219,8 @@ class NTPSnippetsService final : public ContentSuggestionsProvider,
void OnSuggestionsChanged(const suggestions::SuggestionsProfile& suggestions);
// Callback for the NTPSnippetsFetcher.
- void OnFetchFinished(NTPSnippetsFetcher::OptionalSnippets snippets);
+ void OnFetchFinished(
+ NTPSnippetsFetcher::OptionalFetchedCategories fetched_categories);
// Moves all snippets from |to_archive| into the archive of the |category|.
// It also deletes the snippets from the DB and keeps the archive reasonably

Powered by Google App Engine
This is Rietveld 408576698