blob: ae9f320008bbccde2081d7d779a135a1ed33cf79 [file] [log] [blame]
/*
* Copyright 2017 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "p2p/base/port_interface.h"
#include <string>
#include "absl/strings/string_view.h"
namespace cricket {
PortInterface::PortInterface() = default;
PortInterface::~PortInterface() = default;
bool PortInterface::SupportsProtocol(absl::string_view protocol) const {
return SupportsProtocol(std::string(protocol));
}
} // namespace cricket