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

Unified Diff: components/ntp_snippets/mock_content_suggestions_provider_observer.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/mock_content_suggestions_provider_observer.h
diff --git a/components/ntp_snippets/mock_content_suggestions_provider_observer.h b/components/ntp_snippets/mock_content_suggestions_provider_observer.h
index 01e273de249d2089a9839f11658805c3cea5b9ac..12bb1fdc55b5271cd364b92158ded286d7f5a945 100644
--- a/components/ntp_snippets/mock_content_suggestions_provider_observer.h
+++ b/components/ntp_snippets/mock_content_suggestions_provider_observer.h
@@ -37,10 +37,9 @@ class MockContentSuggestionsProviderObserver
void(ContentSuggestionsProvider* provider,
Category category,
CategoryStatus new_status));
- MOCK_METHOD3(OnSuggestionInvalidated,
+ MOCK_METHOD2(OnSuggestionInvalidated,
void(ContentSuggestionsProvider* provider,
- Category category,
- const std::string& suggestion_id));
+ const ContentSuggestion::ID& suggestion_id));
};
} // namespace ntp_snippets
« no previous file with comments | « components/ntp_snippets/content_suggestions_service_unittest.cc ('k') | components/ntp_snippets/ntp_snippets_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698