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

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

Issue 2714863004: [Remote suggestions] Move the throttler into the Scheduler (Closed)
Patch Set: Comments #1 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_fetcher_unittest.cc
diff --git a/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc b/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc
index a75bcfe0a4bdb6e52fdcfcf5e5c24ebd72178b82..0be0dd69e0beaddf5847bc63d0c27174ee2c1513 100644
--- a/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc
+++ b/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc
@@ -283,7 +283,6 @@ class RemoteSuggestionsFetcherTestBase : public testing::Test {
mock_task_runner_(new base::TestMockTimeTaskRunner()),
mock_task_runner_handle_(mock_task_runner_),
test_url_(gurl) {
- RequestThrottler::RegisterProfilePrefs(utils_.pref_service()->registry());
UserClassifier::RegisterProfilePrefs(utils_.pref_service()->registry());
user_classifier_ = base::MakeUnique<UserClassifier>(utils_.pref_service());
// Increase initial time such that ticks are non-zero.

Powered by Google App Engine
This is Rietveld 408576698