Index: components/ntp_snippets/ntp_snippets_fetcher.h |
diff --git a/components/ntp_snippets/ntp_snippets_fetcher.h b/components/ntp_snippets/ntp_snippets_fetcher.h |
index 6af62afb921bc27926cde9c5b658380a8d7782e7..6b72615e0f4f85dda480f2cf9e393f25d1dcc6a1 100644 |
--- a/components/ntp_snippets/ntp_snippets_fetcher.h |
+++ b/components/ntp_snippets/ntp_snippets_fetcher.h |
@@ -115,6 +115,10 @@ class NTPSnippetsFetcher : public OAuth2TokenService::Consumer, |
tick_clock_ = std::move(tick_clock); |
} |
+ void SetPersonalizationForTesting(Personalization personalization) { |
+ personalization_ = personalization; |
+ } |
+ |
private: |
FRIEND_TEST_ALL_PREFIXES(NTPSnippetsFetcherTest, BuildRequestAuthenticated); |
FRIEND_TEST_ALL_PREFIXES(NTPSnippetsFetcherTest, BuildRequestUnauthenticated); |