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

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

Issue 2718453002: ntp_snippets: default to staging API on dev/canary (Closed)
Patch Set: Created 3 years, 10 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/remote_suggestions_provider_impl_unittest.cc
diff --git a/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc b/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc
index 84349c862695b8acc838a367cc09420ede36a22a..40b1d1feccab0688363c4945575916eeb7d92c63 100644
--- a/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc
+++ b/components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc
@@ -414,7 +414,8 @@ class RemoteSuggestionsProviderImplTest : public ::testing::Test {
auto suggestions_fetcher = base::MakeUnique<RemoteSuggestionsFetcher>(
utils_.fake_signin_manager(), /*token_service=*/nullptr,
std::move(request_context_getter), utils_.pref_service(), nullptr,
- base::Bind(&ParseJson), kAPIKey, &user_classifier_);
+ base::Bind(&ParseJson), GetFetchEndpoint(true), kAPIKey,
jkrcal 2017/02/23 13:25:22 nit: could you please add /*is_stable_or_beta_chan
sfiera 2017/02/23 13:28:47 Done.
+ &user_classifier_);
suggestions_fetcher_ = suggestions_fetcher.get();
auto image_fetcher = base::MakeUnique<NiceMock<MockImageFetcher>>();

Powered by Google App Engine
This is Rietveld 408576698