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

Unified Diff: components/ntp_snippets/remote/ntp_snippets_service_unittest.cc

Issue 2395123002: Connecting UserClassifier to NtpSnippetsFetcher (Closed)
Patch Set: Unit-test fix Created 4 years, 2 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/remote/ntp_snippets_service_unittest.cc
diff --git a/components/ntp_snippets/remote/ntp_snippets_service_unittest.cc b/components/ntp_snippets/remote/ntp_snippets_service_unittest.cc
index 46f1e9551eba12ef63463fbf0680aa6be3948dd8..d23b7a323a94483deebae2d2e79223544b20246c 100644
--- a/components/ntp_snippets/remote/ntp_snippets_service_unittest.cc
+++ b/components/ntp_snippets/remote/ntp_snippets_service_unittest.cc
@@ -418,7 +418,8 @@ class NTPSnippetsServiceTest : public ::testing::Test {
base::MakeUnique<NTPSnippetsFetcher>(
utils_.fake_signin_manager(), fake_token_service_.get(),
std::move(request_context_getter), utils_.pref_service(),
- &category_factory_, nullptr, base::Bind(&ParseJson), kAPIKey);
+ &category_factory_, nullptr, base::Bind(&ParseJson), kAPIKey,
+ &user_classifier_);
utils_.fake_signin_manager()->SignIn("foo@bar.com");
snippets_fetcher->SetPersonalizationForTesting(
« no previous file with comments | « components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc ('k') | components/ntp_snippets/remote/request_throttler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698