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

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

Issue 2496163002: [NTP Snippets] Don't notify about new suggestion when in a not-available state (Closed)
Patch Set: add test; fix Created 4 years, 1 month 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
« no previous file with comments | « no previous file | components/ntp_snippets/remote/remote_suggestions_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/remote/remote_suggestions_provider.h
diff --git a/components/ntp_snippets/remote/remote_suggestions_provider.h b/components/ntp_snippets/remote/remote_suggestions_provider.h
index bd5aad80b94532f16ac7037bd876c2dc3d9e2ee7..ce191540631105d5dbabbde75045dc214503a4fa 100644
--- a/components/ntp_snippets/remote/remote_suggestions_provider.h
+++ b/components/ntp_snippets/remote/remote_suggestions_provider.h
@@ -150,6 +150,8 @@ class RemoteSuggestionsProvider final
friend class RemoteSuggestionsProviderTest;
FRIEND_TEST_ALL_PREFIXES(RemoteSuggestionsProviderTest,
+ DontNotifyIfNotAvailable);
+ FRIEND_TEST_ALL_PREFIXES(RemoteSuggestionsProviderTest,
RemoveExpiredDismissedContent);
FRIEND_TEST_ALL_PREFIXES(RemoteSuggestionsProviderTest,
RescheduleOnStateChange);
« no previous file with comments | « no previous file | components/ntp_snippets/remote/remote_suggestions_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698