summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2016-10-18 08:43:30 +0900
committerLorenzo Colitti <lorenzo@google.com>2016-12-09 11:21:29 +0900
commit05ad47add8796880c5ba18d55ab6d5221f3e708d (patch)
treea0af36169a81ab5e26f9ae6e2dac578975526071 /tools/aapt2/diff/Diff.cpp
parent8c9e4b68f09c92f7f1d26916bbac7014c45f5d49 (diff)
DO NOT MERGE: TokenBucket for rate-limiting and throttling
This patch adds a TokenBucket class that can accumulate and distribute tokens over time. Test: comes with unit tests. Bug: 32198637 (cherry picked from commit 998493f0ee39ae0e9ffdea27f48f1b11b0807fcb) Change-Id: I4012ae6d02f7004bceee9a2ba03914f2a2506031
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions