Chromium Code Reviews| 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..dac0c0eb2f9b033204057b12bb70316a6c0ed5ed 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) { |
|
Bernhard Bauer
2016/06/16 14:03:35
Capitalize the beginning of the method name.
dgn
2016/06/16 14:34:10
Done.
|
| + personalization_ = personalization; |
| + } |
| + |
| private: |
| void FetchSnippetsImpl(const GURL& url, |
| const std::string& auth_header, |