1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "remoting/protocol/webrtc_bandwidth_estimator.h"
6 
7 namespace remoting {
8 namespace protocol {
9 
10 WebrtcBandwidthEstimator::WebrtcBandwidthEstimator() = default;
11 WebrtcBandwidthEstimator::~WebrtcBandwidthEstimator() = default;
12 
OnBitrateEstimation(int bitrate_kbps)13 void WebrtcBandwidthEstimator::OnBitrateEstimation(int bitrate_kbps) {
14   bitrate_kbps_ = bitrate_kbps;
15 }
16 
GetBitrateKbps()17 int WebrtcBandwidthEstimator::GetBitrateKbps() {
18   return bitrate_kbps_;
19 }
20 
21 }  // namespace protocol
22 }  // namespace remoting
23