| 37 | class ThrottleImpl : public ThrottledAsyncTaskScheduler::Throttle { |
| 38 | public: |
| 39 | explicit ThrottleImpl(int max_concurrent_cost) |
| 40 | : max_concurrent_cost_(max_concurrent_cost), available_cost_(max_concurrent_cost) {} |
| 41 | |
| 42 | ~ThrottleImpl() { |
| 43 | if (backoff_.is_valid()) { |
nothing calls this directly
no outgoing calls
no test coverage detected