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

Unified Diff: components/ntp_snippets/ntp_snippets_service.h

Issue 2303713002: Implement ClearHistory for all ntp_snippets providers (Closed)
Patch Set: 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/ntp_snippets_service.h
diff --git a/components/ntp_snippets/ntp_snippets_service.h b/components/ntp_snippets/ntp_snippets_service.h
index b8e1d930d27c903a6b11a14b991a4e6401d15f20..7e505c21f60f40bb3eb87eedb9f698fbd6429136 100644
--- a/components/ntp_snippets/ntp_snippets_service.h
+++ b/components/ntp_snippets/ntp_snippets_service.h
@@ -164,6 +164,8 @@ class NTPSnippetsService : public ContentSuggestionsProvider,
private:
friend class NTPSnippetsServiceTest;
FRIEND_TEST_ALL_PREFIXES(NTPSnippetsServiceTest, StatusChanges);
+ FRIEND_TEST_ALL_PREFIXES(NTPSnippetsServiceTest,
+ NukeAllSnippetsRemovesAllSuggestions);
// Possible state transitions:
// NOT_INITED --------+

Powered by Google App Engine
This is Rietveld 408576698