• jkrcal's avatar
    Introduce a request throttler for limiting requests in mobile NTP. · 505ea3a8
    jkrcal authored
    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}
    505ea3a8
histograms.xml 3.76 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.