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

Unified Diff: components/ntp_snippets/ntp_snippets_service_unittest.cc

Issue 2244793002: Remove deleted offline page suggestions from opened NTPs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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_unittest.cc
diff --git a/components/ntp_snippets/ntp_snippets_service_unittest.cc b/components/ntp_snippets/ntp_snippets_service_unittest.cc
index 20334cd5725f713ee7f5c06b1dcdfe3e6753e21f..dfdbc5f1a4a5bc81ff279165560bd9e865ae5622 100644
--- a/components/ntp_snippets/ntp_snippets_service_unittest.cc
+++ b/components/ntp_snippets/ntp_snippets_service_unittest.cc
@@ -235,6 +235,10 @@ class MockProviderObserver : public ContentSuggestionsProvider::Observer {
void(ContentSuggestionsProvider* provider,
Category category,
CategoryStatus new_status));
+ MOCK_METHOD3(OnSuggestionInvalidated,
+ void(ContentSuggestionsProvider* provider,
+ Category category,
+ const std::string& suggestion_id));
};
class WaitForDBLoad {

Powered by Google App Engine
This is Rietveld 408576698