// Copyright (c) 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "quiche/quic/test_tools/simulator/traffic_policer.h" #include <algorithm> #include <string> #include <utility> namespace quic { namespace simulator { TrafficPolicer::TrafficPolicer(Simulator* simulator, std::string name, QuicByteCount initial_bucket_size, QuicByteCount max_bucket_size, QuicBandwidth target_bandwidth, Endpoint* input) : … { … } TrafficPolicer::~TrafficPolicer() { … } void TrafficPolicer::Refill() { … } bool TrafficPolicer::FilterPacket(const Packet& packet) { … } } // namespace simulator } // namespace quic