blob: 0a9c83a31123e26cc44c8c735dcac002c63db1bf [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
Henrik Boströme2e8c172020-06-03 09:24:06 +020011#include "api/adaptation/resource.h"
Henrik Boströmb04b2a12019-12-10 14:14:09 +010012
13namespace webrtc {
14
Henrik Boströmf0eef122020-05-28 16:22:42 +020015const char* ResourceUsageStateToString(ResourceUsageState usage_state) {
16 switch (usage_state) {
17 case ResourceUsageState::kOveruse:
18 return "kOveruse";
19 case ResourceUsageState::kUnderuse:
20 return "kUnderuse";
21 }
22}
23
Henrik Boström48258ac2020-02-06 12:49:57 +010024ResourceListener::~ResourceListener() {}
Henrik Boströmb04b2a12019-12-10 14:14:09 +010025
Henrik Boström5cc28b02020-06-01 17:59:05 +020026Resource::Resource() {}
Henrik Boströmb04b2a12019-12-10 14:14:09 +010027
Henrik Boström5cc28b02020-06-01 17:59:05 +020028Resource::~Resource() {}
Henrik Boströmb04b2a12019-12-10 14:14:09 +010029
30} // namespace webrtc