Chromium Code Reviews| Index: components/ntp_snippets/request_throttler_unittest.cc |
| diff --git a/components/ntp_snippets/request_throttler_unittest.cc b/components/ntp_snippets/request_throttler_unittest.cc |
| index e75295e996304e3f1414e0fd47bb43eae746264c..97c2b0200bff81e275704ca3ae531e556b71ac68 100644 |
| --- a/components/ntp_snippets/request_throttler_unittest.cc |
| +++ b/components/ntp_snippets/request_throttler_unittest.cc |
| @@ -24,8 +24,9 @@ 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, |
| - kCounterQuota)); |
| + &test_prefs_, |
| + RequestThrottler::RequestType::CONTENT_SUGGESTION_FETCHER)); |
| + throttler_->quota_ = kCounterQuota; |
|
jkrcal
2016/07/26 10:05:07
Marc, moving the quota into the RequestTypeInfo co
Marc Treib
2016/07/26 10:10:17
I guess it's a matter of preference; I've seen bot
|
| } |
| protected: |