Introduce a request throttler for limiting requests in mobile NTP.
This CL adds a generic throttler of requests that - checks new requests against daily quota (configurable by Finch), - reports to UMA status of each request w.r.t. the quota, - reports to UMA the total count of request per day. As an example application, it adds throttler for NTPSnippetsFetcher. This throttler will be used in another CL. BUG=627073 Review-Url: https://codereview.chromium.org/2158843002 Cr-Commit-Position: refs/heads/master@{#407124}
Showing
Please register or sign in to comment