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

Unified Diff: components/ntp_snippets/remote/request_throttler_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
« no previous file with comments | « components/ntp_snippets/remote/request_throttler.cc ('k') | components/ntp_snippets/user_classifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/remote/request_throttler_unittest.cc
diff --git a/components/ntp_snippets/remote/request_throttler_unittest.cc b/components/ntp_snippets/remote/request_throttler_unittest.cc
index 79eca3b0b88e780ef2d6440268e42026ce0fed8d..002560553db5203ea1cafcf3e8bb5c1b9052efcf 100644
--- a/components/ntp_snippets/remote/request_throttler_unittest.cc
+++ b/components/ntp_snippets/remote/request_throttler_unittest.cc
@@ -24,8 +24,8 @@ class RequestThrottlerTest : public testing::Test {
RequestThrottler::RegisterProfilePrefs(test_prefs_.registry());
// Use any arbitrary RequestType for this unittest.
throttler_.reset(new RequestThrottler(
- &test_prefs_,
- RequestThrottler::RequestType::CONTENT_SUGGESTION_FETCHER));
+ &test_prefs_, RequestThrottler::RequestType::
+ CONTENT_SUGGESTION_FETCHER_ACTIVE_NTP_USER));
throttler_->quota_ = kCounterQuota;
}
« no previous file with comments | « components/ntp_snippets/remote/request_throttler.cc ('k') | components/ntp_snippets/user_classifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698