blob: 6b1028eb73676ef8c2d66719b50b9c36800a1678 [file] [log] [blame]
Henrik Boströmb04b2a12019-12-10 14:14:09 +01001/*
2 * Copyright 2019 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 "call/adaptation/resource.h"
12
Evan Shrubsoleaa6fbc12020-02-25 16:26:01 +010013#include "absl/algorithm/container.h"
Henrik Boström48258ac2020-02-06 12:49:57 +010014#include "rtc_base/checks.h"
Henrik Boströmb04b2a12019-12-10 14:14:09 +010015
16namespace webrtc {
17
Henrik Boströmf0eef122020-05-28 16:22:42 +020018const char* ResourceUsageStateToString(ResourceUsageState usage_state) {
19 switch (usage_state) {
20 case ResourceUsageState::kOveruse:
21 return "kOveruse";
22 case ResourceUsageState::kUnderuse:
23 return "kUnderuse";
24 }
25}
26
Henrik Boström48258ac2020-02-06 12:49:57 +010027ResourceListener::~ResourceListener() {}
Henrik Boströmb04b2a12019-12-10 14:14:09 +010028
Henrik Boström5cc28b02020-06-01 17:59:05 +020029Resource::Resource() {}
Henrik Boströmb04b2a12019-12-10 14:14:09 +010030
Henrik Boström5cc28b02020-06-01 17:59:05 +020031Resource::~Resource() {}
Henrik Boströmb04b2a12019-12-10 14:14:09 +010032
33} // namespace webrtc