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 639f45d880f42bb9b01bc5c017da9cbdaea162a6..de62e73e75529699a3bdb3a3fec9043ba56e8941 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); |