blob: ae9f320008bbccde2081d7d779a135a1ed33cf79 [file] [log] [blame]
Steve Anton1cf1b7d2017-10-30 10:00:15 -07001/*
2 * Copyright 2017 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
Steve Anton10542f22019-01-11 09:11:00 -080011#include "p2p/base/port_interface.h"
Steve Anton1cf1b7d2017-10-30 10:00:15 -070012
Ali Tofighea5a9442022-06-14 15:20:15 +020013#include <string>
14
15#include "absl/strings/string_view.h"
16
Steve Anton1cf1b7d2017-10-30 10:00:15 -070017namespace cricket {
18
19PortInterface::PortInterface() = default;
20
21PortInterface::~PortInterface() = default;
22
Ali Tofighea5a9442022-06-14 15:20:15 +020023bool PortInterface::SupportsProtocol(absl::string_view protocol) const {
24 return SupportsProtocol(std::string(protocol));
25}
26
Steve Anton1cf1b7d2017-10-30 10:00:15 -070027} // namespace cricket