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

Unified Diff: components/ntp_snippets/ntp_snippets_fetcher.h

Issue 2061803002: 📰 The Status card reports disabled sync states (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplifyBridge
Patch Set: fix compilation: origins Created 4 years, 6 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/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,

Powered by Google App Engine
This is Rietveld 408576698