tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bwe_defines.cc (921B)


      1 /*
      2 *  Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
      3 *
      4 *  Use of this source code is governed by a BSD-style license
      5 *  that can be found in the LICENSE file in the root of the source
      6 *  tree. An additional intellectual property rights grant can be found
      7 *  in the file PATENTS.  All contributing project authors may
      8 *  be found in the AUTHORS file in the root of the source tree.
      9 */
     10 
     11 #include "modules/remote_bitrate_estimator/include/bwe_defines.h"
     12 
     13 #include <optional>
     14 
     15 #include "api/transport/bandwidth_usage.h"
     16 #include "api/units/data_rate.h"
     17 
     18 namespace webrtc {
     19 
     20 const char kBweTypeHistogram[] = "WebRTC.BWE.Types";
     21 
     22 RateControlInput::RateControlInput(
     23    BandwidthUsage bw_state,
     24    const std::optional<DataRate>& estimated_throughput)
     25    : bw_state(bw_state), estimated_throughput(estimated_throughput) {}
     26 
     27 RateControlInput::~RateControlInput() = default;
     28 
     29 }  // namespace webrtc