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 d4e3b3720bdab6eae6719aa747bccb35f4c5b73a..c020e0d0f5359c9dbf44852100696c47e12e8f24 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: |
void FetchSnippetsImpl(const GURL& url, |
const std::string& auth_header, |